#4E419A#4E419A

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

Color values

HEX#4E419A
RGBrgb(78, 65, 154)
HSLhsl(249, 41%, 43%)
HSVhsv(249, 58%, 60%)
CMYKcmyk(49.4%, 57.8%, 0%, 39.6%)
CIE-LABlab(33.42, 29.63, -47.05)
CIE-LCHlch(33.42, 55.60, 302.20°)
OKLaboklab(43.82% 0.038 -0.1344)
OKLCHoklch(43.82% 0.14 285.8)
XYZxyz(10.8632, 7.7329, 31.4858)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E419A #8D9A41
analogous
#41609A #4E419A #7A419A
triadic
#4E419A #9A4E41 #419A4E
tetradic
#4E419A #9A4160 #8D9A41 #419A7A
square
#4E419A #9A4160 #8D9A41 #419A7A
split-complementary
#4E419A #9A7A41 #609A41
monochromatic
#221D44 #382F6F #4E419A #6B5DBB #9288CD

Accessibility & contrast

On white

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

On black

2.55
#4E419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E419A#FFFFFF#000000##FFFFFF
##4E419A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#345567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e419a;
/* rgb */ color: rgb(78, 65, 154);
/* oklch */ color: oklch(43.8% 0.140 285.8);
Tailwind
colors: {
  custom: {
    50: '#8576b8',
    500: '#4e419a',
    950: '#000000',
  },
}
SCSS
$custom: #4e419a;
$custom-light: #8576b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e419a",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 248.764,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.13964,
    "h": 285.8
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#4E419A
secondary
#AFB87F
accent
#D057BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E419A

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

Preview Lab → · Contrast checker → · Palette generator →

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