#5E167D#5E167D

#5E167D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.5% C 0.164 H 312.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#5E167D
RGBrgb(94, 22, 125)
HSLhsl(282, 70%, 29%)
HSVhsv(282, 82%, 49%)
CMYKcmyk(24.8%, 82.4%, 0%, 51%)
CIE-LABlab(25.06, 47.53, -42.52)
CIE-LCHlch(25.06, 63.77, 318.18°)
OKLaboklab(37.54% 0.1115 -0.1204)
OKLCHoklch(37.54% 0.164 312.8)
XYZxyz(8.6040, 4.4344, 19.8008)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E167D #357D16
analogous
#2B167D #5E167D #7D1669
triadic
#5E167D #7D5E16 #167D5E
tetradic
#5E167D #7D2B16 #357D16 #16697D
square
#5E167D #7D2B16 #357D16 #16697D
split-complementary
#5E167D #697D16 #167D2B
monochromatic
#14051A #370D49 #5E167D #851FB1 #A832DB

Accessibility & contrast

On white

11.13
#5E167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E167D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E167D#FFFFFF#000000##FFFFFF
##5E167D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#043D7B
Tritanopia (blue-blind)
#5A2F4A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e167d;
/* rgb */ color: rgb(94, 22, 125);
/* oklch */ color: oklch(37.5% 0.164 312.8);
Tailwind
colors: {
  custom: {
    50: '#905da3',
    500: '#5e167d',
    950: '#000000',
  },
}
SCSS
$custom: #5e167d;
$custom-light: #905da3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e167d",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 281.942,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37542,
    "c": 0.16408,
    "h": 312.8
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#5E167D
secondary
#60B23D
accent
#ED3B70
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E167D

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

Preview Lab → · Contrast checker → · Palette generator →

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