#5E1767#5E1767

#5E1767 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.143 H 323.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#5E1767
RGBrgb(94, 23, 103)
HSLhsl(293, 63%, 25%)
HSVhsv(293, 78%, 40%)
CMYKcmyk(8.7%, 77.7%, 0%, 59.6%)
CIE-LABlab(23.58, 42.62, -30.76)
CIE-LCHlch(23.58, 52.56, 324.17°)
OKLaboklab(35.99% 0.1138 -0.0859)
OKLCHoklch(35.99% 0.143 323)
XYZxyz(7.3704, 3.9722, 13.2078)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1767 #206717
analogous
#361767 #5E1767 #671748
triadic
#5E1767 #675E17 #17675E
tetradic
#5E1767 #673617 #206717 #174867
square
#5E1767 #673617 #206717 #174867
split-complementary
#5E1767 #486717 #176736
monochromatic
#170619 #300C35 #5E1767 #8C2299 #B92DCB

Accessibility & contrast

On white

11.70
#5E1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1767
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1767#FFFFFF#000000##FFFFFF
##5E17671.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#5F263E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1767;
/* rgb */ color: rgb(94, 23, 103);
/* oklch */ color: oklch(36.0% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c93',
    500: '#5e1767',
    950: '#000000',
  },
}
SCSS
$custom: #5e1767;
$custom-light: #8f5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1767",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 293.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35988,
    "c": 0.1426,
    "h": 323
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#5E1767
secondary
#479D3D
accent
#E74154
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1767

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

Preview Lab → · Contrast checker → · Palette generator →

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