#5E1068#5E1068

#5E1068 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.151 H 322.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1068
RGBrgb(94, 16, 104)
HSLhsl(293, 73%, 24%)
HSVhsv(293, 85%, 41%)
CMYKcmyk(9.6%, 84.6%, 0%, 59.2%)
CIE-LABlab(22.83, 45.17, -32.62)
CIE-LCHlch(22.83, 55.72, 324.17°)
OKLaboklab(35.48% 0.1201 -0.0913)
OKLCHoklch(35.48% 0.151 322.8)
XYZxyz(7.2998, 3.7502, 13.4334)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1068 #1A6810
analogous
#321068 #5E1068 #681046
triadic
#5E1068 #685E10 #10685E
tetradic
#5E1068 #683210 #1A6810 #104668
square
#5E1068 #683210 #1A6810 #104668
split-complementary
#5E1068 #466810 #106832
monochromatic
#18041B #2E0833 #5E1068 #8E189D #BE20D2

Accessibility & contrast

On white

12.00
#5E1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1068
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1068#FFFFFF#000000##FFFFFF
##5E10681.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#5F233D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1068;
/* rgb */ color: rgb(94, 16, 104);
/* oklch */ color: oklch(35.5% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a94',
    500: '#5e1068',
    950: '#000000',
  },
}
SCSS
$custom: #5e1068;
$custom-light: #8f5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1068",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 293.182,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35477,
    "c": 0.15087,
    "h": 322.8
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#5E1068
secondary
#40A034
accent
#F0384D
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1068

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

Preview Lab → · Contrast checker → · Palette generator →

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