#5E1F69#5E1F69

#5E1F69 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.0% C 0.134 H 321.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#5E1F69
RGBrgb(94, 31, 105)
HSLhsl(291, 54%, 27%)
HSVhsv(291, 70%, 41%)
CMYKcmyk(10.5%, 70.5%, 0%, 58.8%)
CIE-LABlab(24.89, 39.68, -29.97)
CIE-LCHlch(24.89, 49.73, 322.94°)
OKLaboklab(36.97% 0.1047 -0.0837)
OKLCHoklch(36.97% 0.134 321.4)
XYZxyz(7.6556, 4.3800, 13.8040)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1F69 #2A691F
analogous
#391F69 #5E1F69 #691F4F
triadic
#5E1F69 #695E1F #1F695E
tetradic
#5E1F69 #69391F #2A691F #1F4F69
square
#5E1F69 #69391F #2A691F #1F4F69
split-complementary
#5E1F69 #4F691F #1F6939
monochromatic
#150718 #34113A #5E1F69 #882D98 #B13DC6

Accessibility & contrast

On white

11.19
#5E1F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5E1F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1F69
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1F69#FFFFFF#000000##FFFFFF
##5E1F691.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376B
Deuteranopia (green-blind)
#273D67
Tritanopia (blue-blind)
#5F2C41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1f69;
/* rgb */ color: rgb(94, 31, 105);
/* oklch */ color: oklch(37.0% 0.134 321.4);
Tailwind
colors: {
  custom: {
    50: '#8e6094',
    500: '#5e1f69',
    950: '#000000',
  },
}
SCSS
$custom: #5e1f69;
$custom-light: #8e6094;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1f69",
  "rgb": {
    "r": 94,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 291.081,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36968,
    "c": 0.13402,
    "h": 321.4
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#5E1F69
secondary
#539D47
accent
#DE4A60
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5E1F69

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

Preview Lab → · Contrast checker → · Palette generator →

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