#4E1E5C#4E1E5C

#4E1E5C is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.6% C 0.114 H 317.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#4E1E5C
RGBrgb(78, 30, 92)
HSLhsl(286, 51%, 24%)
HSVhsv(286, 67%, 36%)
CMYKcmyk(15.2%, 67.4%, 0%, 63.9%)
CIE-LABlab(21.29, 33.12, -27.35)
CIE-LCHlch(21.29, 42.95, 320.45°)
OKLaboklab(33.57% 0.0846 -0.0765)
OKLCHoklch(33.57% 0.114 317.9)
XYZxyz(5.5377, 3.3212, 10.4725)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E5C #2C5C1E
analogous
#2F1E5C #4E1E5C #5C1E4B
triadic
#4E1E5C #5C4E1E #1E5C4E
tetradic
#4E1E5C #5C2F1E #2C5C1E #1E4B5C
square
#4E1E5C #5C2F1E #2C5C1E #1E4B5C
split-complementary
#4E1E5C #4B5C1E #1E5C2F
monochromatic
#140817 #270F2E #4E1E5C #752D8A #9C3CB8

Accessibility & contrast

On white

12.62
#4E1E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E5C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E5C#FFFFFF#000000##FFFFFF
##4E1E5C1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305E
Deuteranopia (green-blind)
#20355A
Tritanopia (blue-blind)
#4E293A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1e5c;
/* rgb */ color: rgb(78, 30, 92);
/* oklch */ color: oklch(33.6% 0.114 317.9);
Tailwind
colors: {
  custom: {
    50: '#825d8a',
    500: '#4e1e5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e5c;
$custom-light: #825d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e5c",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 286.452,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33568,
    "c": 0.11404,
    "h": 317.9
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#4E1E5C
secondary
#569145
accent
#DA4D6D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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