#4E1F59#4E1F59

#4E1F59 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.109 H 319.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#4E1F59
RGBrgb(78, 31, 89)
HSLhsl(289, 48%, 24%)
HSVhsv(289, 65%, 35%)
CMYKcmyk(12.4%, 65.2%, 0%, 65.1%)
CIE-LABlab(21.29, 31.91, -25.35)
CIE-LCHlch(21.29, 40.75, 321.53°)
OKLaboklab(33.51% 0.0831 -0.0707)
OKLCHoklch(33.51% 0.109 319.6)
XYZxyz(5.4348, 3.3212, 9.8040)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F59 #2A591F
analogous
#311F59 #4E1F59 #591F47
triadic
#4E1F59 #594E1F #1F594E
tetradic
#4E1F59 #59311F #2A591F #1F4759
square
#4E1F59 #59311F #2A591F #1F4759
split-complementary
#4E1F59 #47591F #1F5931
monochromatic
#140817 #260F2C #4E1F59 #762F86 #9E3FB4

Accessibility & contrast

On white

12.62
#4E1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F59
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F59#FFFFFF#000000##FFFFFF
##4E1F591.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305B
Deuteranopia (green-blind)
#233558
Tritanopia (blue-blind)
#4E2838
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1f59;
/* rgb */ color: rgb(78, 31, 89);
/* oklch */ color: oklch(33.5% 0.109 319.6);
Tailwind
colors: {
  custom: {
    50: '#825e88',
    500: '#4e1f59',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f59;
$custom-light: #825e88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f59",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 288.621,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33506,
    "c": 0.10912,
    "h": 319.6
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#4E1F59
secondary
#548E46
accent
#D8506A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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