#4E39B7#4E39B7

#4E39B7 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.188 H 283.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4E39B7
RGBrgb(78, 57, 183)
HSLhsl(250, 53%, 47%)
HSVhsv(250, 69%, 72%)
CMYKcmyk(57.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(33.91, 43.48, -63.62)
CIE-LCHlch(33.91, 77.06, 304.35°)
OKLaboklab(44.9% 0.0436 -0.1831)
OKLCHoklch(44.9% 0.188 283.4)
XYZxyz(13.1496, 7.9640, 45.6349)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39B7 #A2B739
analogous
#3963B7 #4E39B7 #8D39B7
triadic
#4E39B7 #B74E39 #39B74E
tetradic
#4E39B7 #B73963 #A2B739 #39B78D
square
#4E39B7 #B73963 #A2B739 #39B78D
split-complementary
#4E39B7 #B78D39 #63B739
monochromatic
#261C5A #3A2A88 #4E39B7 #7260CD #9B8EDC

Accessibility & contrast

On white

8.10
#4E39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39B7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39B7#FFFFFF#000000##FFFFFF
##4E39B71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#165A73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e39b7;
/* rgb */ color: rgb(78, 57, 183);
/* oklch */ color: oklch(44.9% 0.188 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b71ce',
    500: '#4e39b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e39b7;
$custom-light: #8b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39b7",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 250,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.18822,
    "h": 283.4
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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