#4E1E5E#4E1E5E

#4E1E5E is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.116 H 316.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#4E1E5E
RGBrgb(78, 30, 94)
HSLhsl(285, 52%, 24%)
HSVhsv(285, 68%, 37%)
CMYKcmyk(17%, 68.1%, 0%, 63.1%)
CIE-LABlab(21.42, 33.57, -28.46)
CIE-LCHlch(21.42, 44.01, 319.71°)
OKLaboklab(33.71% 0.0846 -0.0797)
OKLCHoklch(33.71% 0.116 316.7)
XYZxyz(5.6262, 3.3566, 10.9390)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E5E #2E5E1E
analogous
#2E1E5E #4E1E5E #5E1E4E
triadic
#4E1E5E #5E4E1E #1E5E4E
tetradic
#4E1E5E #5E2E1E #2E5E1E #1E4E5E
square
#4E1E5E #5E2E1E #2E5E1E #1E4E5E
split-complementary
#4E1E5E #4E5E1E #1E5E2E
monochromatic
#130717 #280F30 #4E1E5E #742D8C #9B3CBB

Accessibility & contrast

On white

12.57
#4E1E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E5E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E5E#FFFFFF#000000##FFFFFF
##4E1E5E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083060
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#4D293B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1e5e;
/* rgb */ color: rgb(78, 30, 94);
/* oklch */ color: oklch(33.7% 0.116 316.7);
Tailwind
colors: {
  custom: {
    50: '#825d8c',
    500: '#4e1e5e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e5e;
$custom-light: #825d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e5e",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 285,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.11624,
    "h": 316.7
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#4E1E5E
secondary
#589345
accent
#DB4D70
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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