#5E1070#5E1070

#5E1070 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.1% C 0.158 H 318.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5E1070
RGBrgb(94, 16, 112)
HSLhsl(289, 75%, 25%)
HSVhsv(289, 86%, 44%)
CMYKcmyk(16.1%, 85.7%, 0%, 56.1%)
CIE-LABlab(23.41, 46.73, -36.88)
CIE-LCHlch(23.41, 59.53, 321.72°)
OKLaboklab(36.07% 0.1189 -0.1038)
OKLCHoklch(36.07% 0.158 318.9)
XYZxyz(7.7256, 3.9205, 15.6759)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1070 #227010
analogous
#2E1070 #5E1070 #701052
triadic
#5E1070 #705E10 #10705E
tetradic
#5E1070 #702E10 #227010 #105270
square
#5E1070 #702E10 #227010 #105270
split-complementary
#5E1070 #527010 #10702E
monochromatic
#16041B #31083A #5E1070 #8B18A6 #B81FDB

Accessibility & contrast

On white

11.77
#5E1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1070
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1070#FFFFFF#000000##FFFFFF
##5E10701.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#5E2741
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1070;
/* rgb */ color: rgb(94, 16, 112);
/* oklch */ color: oklch(36.1% 0.158 318.9);
Tailwind
colors: {
  custom: {
    50: '#8f5a9a',
    500: '#5e1070',
    950: '#000000',
  },
}
SCSS
$custom: #5e1070;
$custom-light: #8f5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1070",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 288.75,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36069,
    "c": 0.15783,
    "h": 318.9
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#5E1070
secondary
#4AA834
accent
#F23659
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1070

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

Preview Lab → · Contrast checker → · Palette generator →

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