#4E1559#4E1559

#4E1559 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.124 H 320.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4E1559
RGBrgb(78, 21, 89)
HSLhsl(290, 62%, 22%)
HSVhsv(290, 76%, 35%)
CMYKcmyk(12.4%, 76.4%, 0%, 65.1%)
CIE-LABlab(19.55, 36.75, -28.13)
CIE-LCHlch(19.55, 46.28, 322.57°)
OKLaboklab(32.25% 0.0961 -0.0787)
OKLCHoklch(32.25% 0.124 320.7)
XYZxyz(5.2130, 2.8776, 9.7301)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1559 #205915
analogous
#2C1559 #4E1559 #591542
triadic
#4E1559 #594E15 #15594E
tetradic
#4E1559 #592C15 #205915 #154259
square
#4E1559 #592C15 #205915 #154259
split-complementary
#4E1559 #425915 #15592C
monochromatic
#160619 #230927 #4E1559 #79218B #A52CBC

Accessibility & contrast

On white

13.33
#4E1559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1559
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1559#FFFFFF#000000##FFFFFF
##4E15591.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#4F2235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1559;
/* rgb */ color: rgb(78, 21, 89);
/* oklch */ color: oklch(32.3% 0.124 320.7);
Tailwind
colors: {
  custom: {
    50: '#825988',
    500: '#4e1559',
    950: '#000000',
  },
}
SCSS
$custom: #4e1559;
$custom-light: #825988;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1559",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 290.294,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32252,
    "c": 0.12419,
    "h": 320.7
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#4E1559
secondary
#479139
accent
#E5435D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1559

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

Preview Lab → · Contrast checker → · Palette generator →

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