#5E1D64#5E1D64

#5E1D64 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.132 H 324.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#5E1D64
RGBrgb(94, 29, 100)
HSLhsl(295, 55%, 25%)
HSVhsv(295, 71%, 39%)
CMYKcmyk(6%, 71%, 0%, 60.8%)
CIE-LABlab(24.25, 39.56, -27.73)
CIE-LCHlch(24.25, 48.31, 324.97°)
OKLaboklab(36.41% 0.1072 -0.0771)
OKLCHoklch(36.41% 0.132 324.3)
XYZxyz(7.3555, 4.1790, 12.4733)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D64 #23641D
analogous
#3B1D64 #5E1D64 #641D46
triadic
#5E1D64 #645E1D #1D645E
tetradic
#5E1D64 #643B1D #23641D #1D4664
square
#5E1D64 #643B1D #23641D #1D4664
split-complementary
#5E1D64 #46641D #1D643B
monochromatic
#160718 #310F35 #5E1D64 #8B2B93 #B739C3

Accessibility & contrast

On white

11.44
#5E1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D64
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D64#FFFFFF#000000##FFFFFF
##5E1D641.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#293C62
Tritanopia (blue-blind)
#60283E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1d64;
/* rgb */ color: rgb(94, 29, 100);
/* oklch */ color: oklch(36.4% 0.132 324.3);
Tailwind
colors: {
  custom: {
    50: '#8e5f90',
    500: '#5e1d64',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d64;
$custom-light: #8e5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d64",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 294.93,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36409,
    "c": 0.13203,
    "h": 324.3
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#5E1D64
secondary
#4B9944
accent
#DE4956
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5E1D64

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1D64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva