#4E1B59#4E1B59

#4E1B59 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.116 H 320.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4E1B59
RGBrgb(78, 27, 89)
HSLhsl(289, 53%, 23%)
HSVhsv(289, 70%, 35%)
CMYKcmyk(12.4%, 69.7%, 0%, 65.1%)
CIE-LABlab(20.54, 33.97, -26.55)
CIE-LCHlch(20.54, 43.11, 322.00°)
OKLaboklab(32.96% 0.0886 -0.0741)
OKLCHoklch(32.96% 0.116 320.1)
XYZxyz(5.3368, 3.1251, 9.7713)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B59 #26591B
analogous
#2F1B59 #4E1B59 #591B45
triadic
#4E1B59 #594E1B #1B594E
tetradic
#4E1B59 #592F1B #26591B #1B4559
square
#4E1B59 #592F1B #26591B #1B4559
split-complementary
#4E1B59 #45591B #1B592F
monochromatic
#150717 #250D2A #4E1B59 #772988 #A037B7

Accessibility & contrast

On white

12.92
#4E1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B59
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B59#FFFFFF#000000##FFFFFF
##4E1B591.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092E5B
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#4E2637
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1b59;
/* rgb */ color: rgb(78, 27, 89);
/* oklch */ color: oklch(33.0% 0.116 320.1);
Tailwind
colors: {
  custom: {
    50: '#825c88',
    500: '#4e1b59',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b59;
$custom-light: #825c88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b59",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 289.355,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.11555,
    "h": 320.1
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#4E1B59
secondary
#4F8F41
accent
#DD4B65
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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