#4E409D#4E409D

#4E409D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.145 H 285.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4E409D
RGBrgb(78, 64, 157)
HSLhsl(249, 42%, 43%)
HSVhsv(249, 59%, 62%)
CMYKcmyk(50.3%, 59.2%, 0%, 38.4%)
CIE-LABlab(33.39, 31.20, -48.91)
CIE-LCHlch(33.39, 58.01, 302.53°)
OKLaboklab(43.87% 0.0391 -0.1398)
OKLCHoklch(43.87% 0.145 285.6)
XYZxyz(11.0593, 7.7203, 32.7992)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E409D #8F9D40
analogous
#40609D #4E409D #7C409D
triadic
#4E409D #9D4E40 #409D4E
tetradic
#4E409D #9D4060 #8F9D40 #409D7C
square
#4E409D #9D4060 #8F9D40 #409D7C
split-complementary
#4E409D #9D7C40 #609D40
monochromatic
#231D46 #382E72 #4E409D #6C5DBD #9389CF

Accessibility & contrast

On white

8.25
#4E409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E409D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E409D#FFFFFF#000000##FFFFFF
##4E409D1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#325568
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e409d;
/* rgb */ color: rgb(78, 64, 157);
/* oklch */ color: oklch(43.9% 0.145 285.6);
Tailwind
colors: {
  custom: {
    50: '#8675bb',
    500: '#4e409d',
    950: '#000000',
  },
}
SCSS
$custom: #4e409d;
$custom-light: #8675bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e409d",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 249.032,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.14521,
    "h": 285.6
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#4E409D
secondary
#B1B97F
accent
#D256BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E409D

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

Preview Lab → · Contrast checker → · Palette generator →

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