#5E1867#5E1867

#5E1867 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.141 H 322.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#5E1867
RGBrgb(94, 24, 103)
HSLhsl(293, 62%, 25%)
HSVhsv(293, 77%, 40%)
CMYKcmyk(8.7%, 76.7%, 0%, 59.6%)
CIE-LABlab(23.71, 42.23, -30.55)
CIE-LCHlch(23.71, 52.12, 324.12°)
OKLaboklab(36.08% 0.1128 -0.0853)
OKLCHoklch(36.08% 0.141 322.9)
XYZxyz(7.3907, 4.0127, 13.2146)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1867 #216718
analogous
#371867 #5E1867 #671848
triadic
#5E1867 #675E18 #18675E
tetradic
#5E1867 #673718 #216718 #184867
square
#5E1867 #673718 #216718 #184867
split-complementary
#5E1867 #486718 #186737
monochromatic
#170619 #310C35 #5E1867 #8B2499 #B92FCA

Accessibility & contrast

On white

11.65
#5E1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1867
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1867#FFFFFF#000000##FFFFFF
##5E18671.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.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: #5e1867;
/* rgb */ color: rgb(94, 24, 103);
/* oklch */ color: oklch(36.1% 0.141 322.9);
Tailwind
colors: {
  custom: {
    50: '#8f5d93',
    500: '#5e1867',
    950: '#000000',
  },
}
SCSS
$custom: #5e1867;
$custom-light: #8f5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1867",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 293.165,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.1414,
    "h": 322.9
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#5E1867
secondary
#499D3E
accent
#E54355
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1867

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

Preview Lab → · Contrast checker → · Palette generator →

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