#5E1657#5E1657

#5E1657 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.130 H 332.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#5E1657
RGBrgb(94, 22, 87)
HSLhsl(306, 62%, 23%)
HSVhsv(306, 77%, 37%)
CMYKcmyk(0%, 76.6%, 7.4%, 63.1%)
CIE-LABlab(22.45, 40.02, -22.00)
CIE-LCHlch(22.45, 45.66, 331.20°)
OKLaboklab(34.86% 0.1149 -0.0604)
OKLCHoklch(34.86% 0.13 332.3)
XYZxyz(6.6233, 3.6422, 9.3691)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1657 #165E1D
analogous
#41165E #5E1657 #5E1633
triadic
#5E1657 #575E16 #16575E
tetradic
#5E1657 #5E4116 #165E1D #16335E
square
#5E1657 #5E4116 #165E1D #16335E
split-complementary
#5E1657 #335E16 #165E41
monochromatic
#190617 #2C0A29 #5E1657 #902285 #C12DB3

Accessibility & contrast

On white

12.15
#5E1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E1657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1657
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1657#FFFFFF#000000##FFFFFF
##5E16571.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#621E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1657;
/* rgb */ color: rgb(94, 22, 87);
/* oklch */ color: oklch(34.9% 0.130 332.3);
Tailwind
colors: {
  custom: {
    50: '#8e5b86',
    500: '#5e1657',
    950: '#000000',
  },
}
SCSS
$custom: #5e1657;
$custom-light: #8e5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1657",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 305.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34859,
    "c": 0.12984,
    "h": 332.3
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#5E1657
secondary
#3B9544
accent
#E55243
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1657

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

Preview Lab → · Contrast checker → · Palette generator →

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