#4E39B3#4E39B3

#4E39B3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.183 H 284.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4E39B3
RGBrgb(78, 57, 179)
HSLhsl(250, 52%, 46%)
HSVhsv(250, 68%, 70%)
CMYKcmyk(56.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(33.56, 42.25, -61.82)
CIE-LCHlch(33.56, 74.88, 304.35°)
OKLaboklab(44.54% 0.0443 -0.1778)
OKLCHoklch(44.54% 0.183 284)
XYZxyz(12.7392, 7.7999, 43.4733)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39B3 #9EB339
analogous
#3961B3 #4E39B3 #8B39B3
triadic
#4E39B3 #B34E39 #39B34E
tetradic
#4E39B3 #B33961 #9EB339 #39B38B
square
#4E39B3 #B33961 #9EB339 #39B38B
split-complementary
#4E39B3 #B38B39 #61B339
monochromatic
#261B56 #3A2A85 #4E39B3 #715ECC #9A8CDA

Accessibility & contrast

On white

8.20
#4E39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39B3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39B3#FFFFFF#000000##FFFFFF
##4E39B31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#1C5871
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e39b3;
/* rgb */ color: rgb(78, 57, 179);
/* oklch */ color: oklch(44.5% 0.183 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a71cb',
    500: '#4e39b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e39b3;
$custom-light: #8a71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39b3",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 250.328,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44542,
    "c": 0.18323,
    "h": 284
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#4E39B3
secondary
#BAC583
accent
#DB4DC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4E39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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