#4E39B6#4E39B6

#4E39B6 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.187 H 283.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4E39B6
RGBrgb(78, 57, 182)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 69%, 71%)
CMYKcmyk(57.1%, 68.7%, 0%, 28.6%)
CIE-LABlab(33.82, 43.17, -63.17)
CIE-LCHlch(33.82, 76.52, 304.35°)
OKLaboklab(44.81% 0.0438 -0.1818)
OKLCHoklch(44.81% 0.187 283.5)
XYZxyz(13.0459, 7.9225, 45.0887)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39B6 #A1B639
analogous
#3963B6 #4E39B6 #8D39B6
triadic
#4E39B6 #B64E39 #39B64E
tetradic
#4E39B6 #B63963 #A1B639 #39B68D
square
#4E39B6 #B63963 #A1B639 #39B68D
split-complementary
#4E39B6 #B68D39 #63B639
monochromatic
#261C59 #3A2A87 #4E39B6 #725FCD #9B8EDC

Accessibility & contrast

On white

8.13
#4E39B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E39B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39B6
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39B6#FFFFFF#000000##FFFFFF
##4E39B61.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#185A73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e39b6;
/* rgb */ color: rgb(78, 57, 182);
/* oklch */ color: oklch(44.8% 0.187 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a71cd',
    500: '#4e39b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e39b6;
$custom-light: #8a71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39b6",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 250.08,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.18698,
    "h": 283.5
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#4E39B6
secondary
#BBC685
accent
#DC4CC4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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