#4E2384#4E2384

#4E2384 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.153 H 299.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4E2384
RGBrgb(78, 35, 132)
HSLhsl(267, 58%, 33%)
HSVhsv(267, 73%, 52%)
CMYKcmyk(40.9%, 73.5%, 0%, 48.2%)
CIE-LABlab(25.22, 40.59, -46.77)
CIE-LCHlch(25.22, 61.93, 310.95°)
OKLaboklab(37.34% 0.0741 -0.1335)
OKLCHoklch(37.34% 0.153 299)
XYZxyz(7.9067, 4.4876, 22.2749)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2384 #598423
analogous
#232884 #4E2384 #7E2384
triadic
#4E2384 #844E23 #23844E
tetradic
#4E2384 #842328 #598423 #23847E
square
#4E2384 #842328 #598423 #23847E
split-complementary
#4E2384 #847E23 #288423
monochromatic
#150923 #311654 #4E2384 #6B30B4 #8951D1

Accessibility & contrast

On white

11.07
#4E2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2384
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2384#FFFFFF#000000##FFFFFF
##4E23841.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#413B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2384;
/* rgb */ color: rgb(78, 35, 132);
/* oklch */ color: oklch(37.3% 0.153 299.0);
Tailwind
colors: {
  custom: {
    50: '#8562a9',
    500: '#4e2384',
    950: '#000000',
  },
}
SCSS
$custom: #4e2384;
$custom-light: #8562a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2384",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 266.598,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.15271,
    "h": 299
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#4E2384
secondary
#87B44E
accent
#E1469D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4E2384

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

Preview Lab → · Contrast checker → · Palette generator →

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