#5E1D63#5E1D63

#5E1D63 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.3% C 0.131 H 324.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#5E1D63
RGBrgb(94, 29, 99)
HSLhsl(296, 55%, 25%)
HSVhsv(296, 71%, 39%)
CMYKcmyk(5.1%, 70.7%, 0%, 61.2%)
CIE-LABlab(24.19, 39.36, -27.17)
CIE-LCHlch(24.19, 47.83, 325.38°)
OKLaboklab(36.35% 0.1072 -0.0755)
OKLCHoklch(36.35% 0.131 324.8)
XYZxyz(7.3074, 4.1597, 12.2200)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D63 #22631D
analogous
#3B1D63 #5E1D63 #631D45
triadic
#5E1D63 #635E1D #1D635E
tetradic
#5E1D63 #633B1D #22631D #1D4563
square
#5E1D63 #633B1D #22631D #1D4563
split-complementary
#5E1D63 #45631D #1D633B
monochromatic
#160718 #310F34 #5E1D63 #8B2B92 #B839C2

Accessibility & contrast

On white

11.46
#5E1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D63
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D63#FFFFFF#000000##FFFFFF
##5E1D631.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#2A3C61
Tritanopia (blue-blind)
#60283D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1d63;
/* rgb */ color: rgb(94, 29, 99);
/* oklch */ color: oklch(36.3% 0.131 324.8);
Tailwind
colors: {
  custom: {
    50: '#8e5f90',
    500: '#5e1d63',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d63;
$custom-light: #8e5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d63",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 295.714,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36345,
    "c": 0.13108,
    "h": 324.8
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#5E1D63
secondary
#4A9844
accent
#DE4A54
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5E1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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