Twilight Color — HEX, RGB, HSL & CMYK Codes

#4e518b
Format Value
HEX #4e518b
RGB rgb(78, 81, 139)
HSL hsl(237, 28.1%, 42.5%)
CMYK cmyk(43.9%, 41.7%, 0%, 45.5%)
HSV hsv(237, 43.9%, 54.5%)

twilight color harmonies

Tints & shades of twilight

Tints (lighter)

#5e6196 #6e71a0 #7e80ab #8e90b5 #9ea0c0 #afb0ca #bfc0d5 #cfd0df #dfdfea #efeff4

Shades (darker)

#474a7e #404272 #393b65 #323458 #2b2c4c #23253f #1c1d33 #151626 #0e0f19 #07070d

Contrast & accessibility

The quick brown fox

On white · 7.31:1 · AAA

The quick brown fox

On black · 2.87:1 · Fail

Recommended text color: #ffffff

Use twilight in code

CSS color: #4e518b;
SCSS $color: #4e518b;
Tailwind bg-[#4e518b]
Swift UIColor(red: 0.306, green: 0.318, blue: 0.545, alpha: 1)
Android Color.parseColor("#4e518b")
Flutter Color(0xFF4E518B)

Colors similar to twilight

Browse all Blue colors →

What is the HEX code for twilight?

The CSS color twilight in HEX format is #4e518b. Use this value directly in CSS, SVG, and most design tools.

How do I use twilight in CSS?

To apply twilight in CSS:

  • Text color: color: #4e518b;
  • Background: background-color: #4e518b;
  • Border: border-color: #4e518b;

What are all the color format values for twilight?

FormatValue
HEX#4e518b
RGBrgb(78, 81, 139)
HSLhsl(237, 28.1%, 42.5%)
CMYKcmyk(43.9%, 41.7%, 0%, 45.5%)

How do I convert twilight to HEX?

Select twilight from the color name list in our color converter. The HEX value — #4e518b — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does twilight belong to?

twilight belongs to the blue color family. It is a medium, muted color with HSL values: hue 237°, saturation 28.1%, lightness 42.5%.

How do I create lighter and darker shades of twilight?

Lighter variant (lightness 57.5%): #7477b1. Darker variant (lightness 27.5%): #32345a. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.