#4E1D57#4E1D57

#4E1D57 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.110 H 321.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#4E1D57
RGBrgb(78, 29, 87)
HSLhsl(291, 50%, 23%)
HSVhsv(291, 67%, 34%)
CMYKcmyk(10.3%, 66.7%, 0%, 65.9%)
CIE-LABlab(20.78, 32.52, -24.83)
CIE-LCHlch(20.78, 40.91, 322.63°)
OKLaboklab(33.1% 0.0859 -0.0691)
OKLCHoklch(33.1% 0.11 321.2)
XYZxyz(5.3014, 3.1868, 9.3508)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D57 #26571D
analogous
#311D57 #4E1D57 #571D43
triadic
#4E1D57 #574E1D #1D574E
tetradic
#4E1D57 #57311D #26571D #1D4357
square
#4E1D57 #57311D #26571D #1D4357
split-complementary
#4E1D57 #43571D #1D5731
monochromatic
#150817 #250E29 #4E1D57 #772C85 #A03CB3

Accessibility & contrast

On white

12.83
#4E1D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D57
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D57#FFFFFF#000000##FFFFFF
##4E1D571.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102E59
Deuteranopia (green-blind)
#233456
Tritanopia (blue-blind)
#4F2637
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1d57;
/* rgb */ color: rgb(78, 29, 87);
/* oklch */ color: oklch(33.1% 0.110 321.2);
Tailwind
colors: {
  custom: {
    50: '#825d87',
    500: '#4e1d57',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d57;
$custom-light: #825d87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d57",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 290.69,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33095,
    "c": 0.11025,
    "h": 321.2
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#4E1D57
secondary
#4F8C44
accent
#DA4E64
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1D57

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

Preview Lab → · Contrast checker → · Palette generator →

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