#4E1E5D#4E1E5D

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

Color values

HEX#4E1E5D
RGBrgb(78, 30, 93)
HSLhsl(286, 51%, 24%)
HSVhsv(286, 68%, 36%)
CMYKcmyk(16.1%, 67.7%, 0%, 63.5%)
CIE-LABlab(21.35, 33.34, -27.90)
CIE-LCHlch(21.35, 43.48, 320.08°)
OKLaboklab(33.64% 0.0846 -0.0781)
OKLCHoklch(33.64% 0.115 317.3)
XYZxyz(5.5817, 3.3388, 10.7042)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E5D #2D5D1E
analogous
#2F1E5D #4E1E5D #5D1E4D
triadic
#4E1E5D #5D4E1E #1E5D4E
tetradic
#4E1E5D #5D2F1E #2D5D1E #1E4D5D
square
#4E1E5D #5D2F1E #2D5D1E #1E4D5D
split-complementary
#4E1E5D #4D5D1E #1E5D2F
monochromatic
#130717 #270F2F #4E1E5D #752D8B #9C3CBA

Accessibility & contrast

On white

12.59
#4E1E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E5D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E5D#FFFFFF#000000##FFFFFF
##4E1E5D1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#20355B
Tritanopia (blue-blind)
#4D293A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1e5d;
/* rgb */ color: rgb(78, 30, 93);
/* oklch */ color: oklch(33.6% 0.115 317.3);
Tailwind
colors: {
  custom: {
    50: '#825d8b',
    500: '#4e1e5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e5d;
$custom-light: #825d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e5d",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 285.714,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.11514,
    "h": 317.3
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#4E1E5D
secondary
#579245
accent
#DB4D6F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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