#5E1655#5E1655

#5E1655 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.128 H 333.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5E1655
RGBrgb(94, 22, 85)
HSLhsl(308, 62%, 23%)
HSVhsv(308, 77%, 37%)
CMYKcmyk(0%, 76.6%, 9.6%, 63.1%)
CIE-LABlab(22.34, 39.67, -20.84)
CIE-LCHlch(22.34, 44.81, 332.28°)
OKLaboklab(34.74% 0.1148 -0.0571)
OKLCHoklch(34.74% 0.128 333.5)
XYZxyz(6.5427, 3.6099, 8.9448)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1655 #165E1F
analogous
#43165E #5E1655 #5E1631
triadic
#5E1655 #555E16 #16555E
tetradic
#5E1655 #5E4316 #165E1F #16315E
square
#5E1655 #5E4316 #165E1F #16315E
split-complementary
#5E1655 #315E16 #165E43
monochromatic
#190616 #2C0A28 #5E1655 #902282 #C12DAF

Accessibility & contrast

On white

12.20
#5E1655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E1655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1655
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1655#FFFFFF#000000##FFFFFF
##5E16551.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#2E3953
Tritanopia (blue-blind)
#631D33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1655;
/* rgb */ color: rgb(94, 22, 85);
/* oklch */ color: oklch(34.7% 0.128 333.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b85',
    500: '#5e1655',
    950: '#000000',
  },
}
SCSS
$custom: #5e1655;
$custom-light: #8e5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1655",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 307.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3474,
    "c": 0.12819,
    "h": 333.5
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#5E1655
secondary
#3B9546
accent
#E55743
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1655

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

Preview Lab → · Contrast checker → · Palette generator →

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