#5E167E#5E167E

#5E167E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.165 H 312.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#5E167E
RGBrgb(94, 22, 126)
HSLhsl(282, 70%, 29%)
HSVhsv(282, 83%, 49%)
CMYKcmyk(25.4%, 82.5%, 0%, 50.6%)
CIE-LABlab(25.14, 47.74, -43.02)
CIE-LCHlch(25.14, 64.27, 317.98°)
OKLaboklab(37.62% 0.1113 -0.1218)
OKLCHoklch(37.62% 0.165 312.4)
XYZxyz(8.6682, 4.4601, 20.1389)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E167E #367E16
analogous
#2A167E #5E167E #7E166A
triadic
#5E167E #7E5E16 #167E5E
tetradic
#5E167E #7E2A16 #367E16 #166A7E
square
#5E167E #7E2A16 #367E16 #166A7E
split-complementary
#5E167E #6A7E16 #167E2A
monochromatic
#13051A #370D4A #5E167E #851FB2 #A833DB

Accessibility & contrast

On white

11.10
#5E167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E167E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E167E#FFFFFF#000000##FFFFFF
##5E167E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#5A304B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e167e;
/* rgb */ color: rgb(94, 22, 126);
/* oklch */ color: oklch(37.6% 0.165 312.4);
Tailwind
colors: {
  custom: {
    50: '#905da4',
    500: '#5e167e',
    950: '#000000',
  },
}
SCSS
$custom: #5e167e;
$custom-light: #905da4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e167e",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 281.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.16501,
    "h": 312.4
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#5E167E
secondary
#61B33D
accent
#ED3B72
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E167E

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

Preview Lab → · Contrast checker → · Palette generator →

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