#4E1C5D#4E1C5D

#4E1C5D is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.4% C 0.118 H 317.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#4E1C5D
RGBrgb(78, 28, 93)
HSLhsl(286, 54%, 24%)
HSVhsv(286, 70%, 36%)
CMYKcmyk(16.1%, 69.9%, 0%, 63.5%)
CIE-LABlab(20.98, 34.37, -28.49)
CIE-LCHlch(20.98, 44.64, 320.34°)
OKLaboklab(33.37% 0.0872 -0.0798)
OKLCHoklch(33.37% 0.118 317.5)
XYZxyz(5.5326, 3.2407, 10.6879)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C5D #2B5D1C
analogous
#2D1C5D #4E1C5D #5D1C4B
triadic
#4E1C5D #5D4E1C #1C5D4E
tetradic
#4E1C5D #5D2D1C #2B5D1C #1C4B5D
square
#4E1C5D #5D2D1C #2B5D1C #1C4B5D
split-complementary
#4E1C5D #4B5D1C #1C5D2D
monochromatic
#140718 #270E2E #4E1C5D #752A8C #9D38BB

Accessibility & contrast

On white

12.74
#4E1C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C5D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C5D#FFFFFF#000000##FFFFFF
##4E1C5D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#1E345B
Tritanopia (blue-blind)
#4D283A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1c5d;
/* rgb */ color: rgb(78, 28, 93);
/* oklch */ color: oklch(33.4% 0.118 317.5);
Tailwind
colors: {
  custom: {
    50: '#825c8b',
    500: '#4e1c5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c5d;
$custom-light: #825c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c5d",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 286.154,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33371,
    "c": 0.11827,
    "h": 317.5
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#4E1C5D
secondary
#559242
accent
#DD4B6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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