#4E1D58#4E1D58

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

Color values

HEX#4E1D58
RGBrgb(78, 29, 88)
HSLhsl(290, 50%, 23%)
HSVhsv(290, 67%, 35%)
CMYKcmyk(11.4%, 67%, 0%, 65.5%)
CIE-LABlab(20.84, 32.74, -25.40)
CIE-LCHlch(20.84, 41.43, 322.19°)
OKLaboklab(33.16% 0.0859 -0.0708)
OKLCHoklch(33.16% 0.111 320.5)
XYZxyz(5.3425, 3.2033, 9.5675)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D58 #27581D
analogous
#311D58 #4E1D58 #581D44
triadic
#4E1D58 #584E1D #1D584E
tetradic
#4E1D58 #58311D #27581D #1D4458
square
#4E1D58 #58311D #27581D #1D4458
split-complementary
#4E1D58 #44581D #1D5831
monochromatic
#140817 #250E2A #4E1D58 #772C86 #A03BB4

Accessibility & contrast

On white

12.80
#4E1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D58
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D58#FFFFFF#000000##FFFFFF
##4E1D581.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5A
Deuteranopia (green-blind)
#223456
Tritanopia (blue-blind)
#4F2737
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1d58;
/* rgb */ color: rgb(78, 29, 88);
/* oklch */ color: oklch(33.2% 0.111 320.5);
Tailwind
colors: {
  custom: {
    50: '#825d87',
    500: '#4e1d58',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d58;
$custom-light: #825d87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d58",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 289.831,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.11132,
    "h": 320.5
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#4E1D58
secondary
#508D44
accent
#DA4E66
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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