#4E1E57#4E1E57

#4E1E57 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.109 H 321.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4E1E57
RGBrgb(78, 30, 87)
HSLhsl(291, 49%, 23%)
HSVhsv(291, 66%, 34%)
CMYKcmyk(10.3%, 65.5%, 0%, 65.9%)
CIE-LABlab(20.97, 31.99, -24.53)
CIE-LCHlch(20.97, 40.31, 322.52°)
OKLaboklab(33.23% 0.0845 -0.0683)
OKLCHoklch(33.23% 0.109 321)
XYZxyz(5.3263, 3.2366, 9.3592)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E57 #27571E
analogous
#311E57 #4E1E57 #571E43
triadic
#4E1E57 #574E1E #1E574E
tetradic
#4E1E57 #57311E #27571E #1E4357
square
#4E1E57 #57311E #27571E #1E4357
split-complementary
#4E1E57 #43571E #1E5731
monochromatic
#140817 #250E29 #4E1E57 #772E85 #A03DB2

Accessibility & contrast

On white

12.75
#4E1E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E57
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E57#FFFFFF#000000##FFFFFF
##4E1E571.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F59
Deuteranopia (green-blind)
#243456
Tritanopia (blue-blind)
#4F2737
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1e57;
/* rgb */ color: rgb(78, 30, 87);
/* oklch */ color: oklch(33.2% 0.109 321.0);
Tailwind
colors: {
  custom: {
    50: '#825d87',
    500: '#4e1e57',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e57;
$custom-light: #825d87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e57",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 290.526,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.10861,
    "h": 321
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#4E1E57
secondary
#508C45
accent
#D85065
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1E57

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

Preview Lab → · Contrast checker → · Palette generator →

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