#4E409B#4E409B

#4E409B is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.142 H 285.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E409B
RGBrgb(78, 64, 155)
HSLhsl(249, 42%, 43%)
HSVhsv(249, 59%, 61%)
CMYKcmyk(49.7%, 58.7%, 0%, 39.2%)
CIE-LABlab(33.25, 30.57, -47.93)
CIE-LCHlch(33.25, 56.85, 302.53°)
OKLaboklab(43.72% 0.0391 -0.137)
OKLCHoklch(43.72% 0.142 285.9)
XYZxyz(10.8899, 7.6525, 31.9073)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E409B #8D9B40
analogous
#405F9B #4E409B #7C409B
triadic
#4E409B #9B4E40 #409B4E
tetradic
#4E409B #9B405F #8D9B40 #409B7C
square
#4E409B #9B405F #8D9B40 #409B7C
split-complementary
#4E409B #9B7C40 #5F9B40
monochromatic
#221C44 #382E70 #4E409B #6B5CBC #9288CE

Accessibility & contrast

On white

8.30
#4E409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E409B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E409B#FFFFFF#000000##FFFFFF
##4E409B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#335567
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e409b;
/* rgb */ color: rgb(78, 64, 155);
/* oklch */ color: oklch(43.7% 0.142 285.9);
Tailwind
colors: {
  custom: {
    50: '#8675b9',
    500: '#4e409b',
    950: '#000000',
  },
}
SCSS
$custom: #4e409b;
$custom-light: #8675b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e409b",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 249.231,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.14246,
    "h": 285.9
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#4E409B
secondary
#AFB87E
accent
#D156BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E409B

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

Preview Lab → · Contrast checker → · Palette generator →

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