#4E2DB6#4E2DB6

#4E2DB6 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.200 H 285.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4E2DB6
RGBrgb(78, 45, 182)
HSLhsl(254, 60%, 45%)
HSVhsv(254, 75%, 71%)
CMYKcmyk(57.1%, 75.3%, 0%, 28.6%)
CIE-LABlab(31.52, 49.60, -66.96)
CIE-LCHlch(31.52, 83.33, 306.53°)
OKLaboklab(43.17% 0.0534 -0.1928)
OKLCHoklch(43.17% 0.2 285.5)
XYZxyz(12.5212, 6.8731, 44.9138)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DB6 #95B62D
analogous
#2D50B6 #4E2DB6 #932DB6
triadic
#4E2DB6 #B64E2D #2DB64E
tetradic
#4E2DB6 #B62D50 #95B62D #2DB693
square
#4E2DB6 #B62D50 #95B62D #2DB693
split-complementary
#4E2DB6 #B6932D #50B62D
monochromatic
#241554 #392185 #4E2DB6 #6D4DD3 #967EDF

Accessibility & contrast

On white

8.84
#4E2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DB6
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DB6#FFFFFF#000000##FFFFFF
##4E2DB61.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#195370
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e2db6;
/* rgb */ color: rgb(78, 45, 182);
/* oklch */ color: oklch(43.2% 0.200 285.5);
Tailwind
colors: {
  custom: {
    50: '#8b6acd',
    500: '#4e2db6',
    950: '#000000',
  },
}
SCSS
$custom: #4e2db6;
$custom-light: #8b6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2db6",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 254.453,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.20005,
    "h": 285.5
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#4E2DB6
secondary
#B4C877
accent
#E344BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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