Twilight#4E518B

#4E518B is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.0% C 0.094 H 279.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Twilight — editorial page

Color values

HEX#4E518B
RGBrgb(78, 81, 139)
HSLhsl(237, 28%, 43%)
HSVhsv(237, 44%, 55%)
CMYKcmyk(43.9%, 41.7%, 0%, 45.5%)
CIE-LABlab(36.68, 14.67, -32.71)
CIE-LCHlch(36.68, 35.85, 294.15°)
OKLaboklab(45.98% 0.0159 -0.0922)
OKLCHoklch(45.98% 0.094 279.8)
XYZxyz(10.7431, 9.3682, 25.6633)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E518B #8B884E
analogous
#4E708B #4E518B #694E8B
triadic
#4E518B #8B4E51 #518B4E
tetradic
#4E518B #8B4E70 #8B884E #4E8B69
square
#4E518B #8B4E70 #8B884E #4E8B69
split-complementary
#4E518B #8B694E #708B4E
monochromatic
#22233D #383A64 #4E518B #6B6EAC #9294C2

Accessibility & contrast

On white

7.31
#4E518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E518B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E518B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E518B#FFFFFF#000000##FFFFFF
##4E518B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598D
Deuteranopia (green-blind)
#38548A
Tritanopia (blue-blind)
#3B5D67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e518b;
/* rgb */ color: rgb(78, 81, 139);
/* oklch */ color: oklch(46.0% 0.094 279.8);
Tailwind
colors: {
  custom: {
    50: '#8381ad',
    500: '#4e518b',
    950: '#000000',
  },
}
SCSS
$custom: #4e518b;
$custom-light: #8381ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e518b",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 237.049,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.09359,
    "h": 279.8
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#4E518B
secondary
#AEAC87
accent
#C063C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E518B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E518B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva