#4E1A59#4E1A59

#4E1A59 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.117 H 320.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4E1A59
RGBrgb(78, 26, 89)
HSLhsl(290, 55%, 23%)
HSVhsv(290, 71%, 35%)
CMYKcmyk(12.4%, 70.8%, 0%, 65.1%)
CIE-LABlab(20.36, 34.46, -26.83)
CIE-LCHlch(20.36, 43.67, 322.10°)
OKLaboklab(32.84% 0.0899 -0.0749)
OKLCHoklch(32.84% 0.117 320.2)
XYZxyz(5.3142, 3.0800, 9.7638)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A59 #25591A
analogous
#2F1A59 #4E1A59 #591A44
triadic
#4E1A59 #594E1A #1A594E
tetradic
#4E1A59 #592F1A #25591A #1A4459
square
#4E1A59 #592F1A #25591A #1A4459
split-complementary
#4E1A59 #44591A #1A592F
monochromatic
#150718 #240C2A #4E1A59 #782888 #A136B8

Accessibility & contrast

On white

13.00
#4E1A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1A59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A59
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A59#FFFFFF#000000##FFFFFF
##4E1A591.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5B
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#4E2537
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1a59;
/* rgb */ color: rgb(78, 26, 89);
/* oklch */ color: oklch(32.8% 0.117 320.2);
Tailwind
colors: {
  custom: {
    50: '#825b88',
    500: '#4e1a59',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a59;
$custom-light: #825b88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a59",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 289.524,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32837,
    "c": 0.11708,
    "h": 320.2
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#4E1A59
secondary
#4E8F40
accent
#DE4A64
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1A59

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

Preview Lab → · Contrast checker → · Palette generator →

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