#4E39AC#4E39AC

#4E39AC is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.174 H 285.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E39AC
RGBrgb(78, 57, 172)
HSLhsl(251, 50%, 45%)
HSVhsv(251, 67%, 67%)
CMYKcmyk(54.7%, 66.9%, 0%, 32.5%)
CIE-LABlab(32.97, 40.09, -58.62)
CIE-LCHlch(32.97, 71.02, 304.37°)
OKLaboklab(43.93% 0.0452 -0.1684)
OKLCHoklch(43.93% 0.174 285)
XYZxyz(12.0492, 7.5238, 39.8391)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39AC #97AC39
analogous
#395DAC #4E39AC #8839AC
triadic
#4E39AC #AC4E39 #39AC4E
tetradic
#4E39AC #AC395D #97AC39 #39AC88
square
#4E39AC #AC395D #97AC39 #39AC88
split-complementary
#4E39AC #AC8839 #5DAC39
monochromatic
#241B50 #392A7E #4E39AC #6E5AC8 #9688D8

Accessibility & contrast

On white

8.38
#4E39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39AC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39AC#FFFFFF#000000##FFFFFF
##4E39AC1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#25566D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e39ac;
/* rgb */ color: rgb(78, 57, 172);
/* oklch */ color: oklch(43.9% 0.174 285.0);
Tailwind
colors: {
  custom: {
    50: '#8971c6',
    500: '#4e39ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e39ac;
$custom-light: #8971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39ac",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 250.957,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.17437,
    "h": 285
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#4E39AC
secondary
#B6C27F
accent
#DA4EC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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