#5E1670#5E1670

#5E1670 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.152 H 318.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#5E1670
RGBrgb(94, 22, 112)
HSLhsl(288, 67%, 26%)
HSVhsv(288, 80%, 44%)
CMYKcmyk(16.1%, 80.4%, 0%, 56.1%)
CIE-LABlab(24.08, 44.79, -35.80)
CIE-LCHlch(24.08, 57.34, 321.37°)
OKLaboklab(36.54% 0.1139 -0.1006)
OKLCHoklch(36.54% 0.152 318.5)
XYZxyz(7.8272, 4.1237, 15.7098)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1670 #287016
analogous
#311670 #5E1670 #701655
triadic
#5E1670 #705E16 #16705E
tetradic
#5E1670 #703116 #287016 #165570
square
#5E1670 #703116 #287016 #165570
split-complementary
#5E1670 #557016 #167031
monochromatic
#15051A #330C3D #5E1670 #8920A3 #B32BD5

Accessibility & contrast

On white

11.51
#5E1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5E1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1670
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1670#FFFFFF#000000##FFFFFF
##5E16701.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#1B3B6E
Tritanopia (blue-blind)
#5E2943
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1670;
/* rgb */ color: rgb(94, 22, 112);
/* oklch */ color: oklch(36.5% 0.152 318.5);
Tailwind
colors: {
  custom: {
    50: '#8f5d9a',
    500: '#5e1670',
    950: '#000000',
  },
}
SCSS
$custom: #5e1670;
$custom-light: #8f5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1670",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 288,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.15197,
    "h": 318.5
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#5E1670
secondary
#51A63C
accent
#EA3E60
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1670

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

Preview Lab → · Contrast checker → · Palette generator →

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