#4E1E5B#4E1E5B

#4E1E5B is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.113 H 318.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#4E1E5B
RGBrgb(78, 30, 91)
HSLhsl(287, 50%, 24%)
HSVhsv(287, 67%, 36%)
CMYKcmyk(14.3%, 67%, 0%, 64.3%)
CIE-LABlab(21.22, 32.89, -26.79)
CIE-LCHlch(21.22, 42.42, 320.84°)
OKLaboklab(33.5% 0.0846 -0.0749)
OKLCHoklch(33.5% 0.113 318.5)
XYZxyz(5.4942, 3.3038, 10.2438)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E5B #2B5B1E
analogous
#2F1E5B #4E1E5B #5B1E49
triadic
#4E1E5B #5B4E1E #1E5B4E
tetradic
#4E1E5B #5B2F1E #2B5B1E #1E495B
square
#4E1E5B #5B2F1E #2B5B1E #1E495B
split-complementary
#4E1E5B #495B1E #1E5B2F
monochromatic
#140817 #270F2D #4E1E5B #752D89 #9D3CB7

Accessibility & contrast

On white

12.64
#4E1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E5B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E5B#FFFFFF#000000##FFFFFF
##4E1E5B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#213559
Tritanopia (blue-blind)
#4E2839
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1e5b;
/* rgb */ color: rgb(78, 30, 91);
/* oklch */ color: oklch(33.5% 0.113 318.5);
Tailwind
colors: {
  custom: {
    50: '#825d8a',
    500: '#4e1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e5b;
$custom-light: #825d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e5b",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 287.213,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.335,
    "c": 0.11296,
    "h": 318.5
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#4E1E5B
secondary
#559045
accent
#DA4E6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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