#5E1661#5E1661

#5E1661 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.138 H 326.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5E1661
RGBrgb(94, 22, 97)
HSLhsl(298, 63%, 23%)
HSVhsv(298, 77%, 38%)
CMYKcmyk(3.1%, 77.3%, 0%, 62%)
CIE-LABlab(23.06, 41.84, -27.67)
CIE-LCHlch(23.06, 50.16, 326.52°)
OKLaboklab(35.49% 0.1151 -0.0769)
OKLCHoklch(35.49% 0.138 326.3)
XYZxyz(7.0605, 3.8170, 11.6718)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1661 #196116
analogous
#381661 #5E1661 #61163E
triadic
#5E1661 #615E16 #16615E
tetradic
#5E1661 #613816 #196116 #163E61
square
#5E1661 #613816 #196116 #163E61
split-complementary
#5E1661 #3E6116 #166138
monochromatic
#180619 #2E0B2F #5E1661 #8E2193 #BF2DC5

Accessibility & contrast

On white

11.91
#5E1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1661
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1661#FFFFFF#000000##FFFFFF
##5E16611.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033163
Deuteranopia (green-blind)
#283A5F
Tritanopia (blue-blind)
#61223A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1661;
/* rgb */ color: rgb(94, 22, 97);
/* oklch */ color: oklch(35.5% 0.138 326.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c8e',
    500: '#5e1661',
    950: '#000000',
  },
}
SCSS
$custom: #5e1661;
$custom-light: #8f5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1661",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 297.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3549,
    "c": 0.13843,
    "h": 326.3
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#5E1661
secondary
#3F983B
accent
#E64248
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1661

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

Preview Lab → · Contrast checker → · Palette generator →

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