#4E39A9#4E39A9

#4E39A9 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.171 H 285.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E39A9
RGBrgb(78, 57, 169)
HSLhsl(251, 50%, 44%)
HSVhsv(251, 66%, 66%)
CMYKcmyk(53.8%, 66.3%, 0%, 33.7%)
CIE-LABlab(32.72, 39.17, -57.22)
CIE-LCHlch(32.72, 69.35, 304.39°)
OKLaboklab(43.68% 0.0456 -0.1643)
OKLCHoklch(43.68% 0.171 285.5)
XYZxyz(11.7643, 7.4099, 38.3388)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39A9 #94A939
analogous
#395CA9 #4E39A9 #8639A9
triadic
#4E39A9 #A94E39 #39A94E
tetradic
#4E39A9 #A9395C #94A939 #39A986
square
#4E39A9 #A9395C #94A939 #39A986
split-complementary
#4E39A9 #A98639 #5CA939
monochromatic
#241A4D #392A7B #4E39A9 #6D58C7 #9586D6

Accessibility & contrast

On white

8.46
#4E39A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E39A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39A9
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39A9#FFFFFF#000000##FFFFFF
##4E39A91.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#28556C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e39a9;
/* rgb */ color: rgb(78, 57, 169);
/* oklch */ color: oklch(43.7% 0.171 285.5);
Tailwind
colors: {
  custom: {
    50: '#8871c3',
    500: '#4e39a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e39a9;
$custom-light: #8871c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39a9",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 251.25,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.17054,
    "h": 285.5
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#4E39A9
secondary
#B4C07E
accent
#D94FBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E39A9

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

Preview Lab → · Contrast checker → · Palette generator →

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