#5E1653#5E1653

#5E1653 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.127 H 334.9°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5E1653
RGBrgb(94, 22, 83)
HSLhsl(309, 62%, 23%)
HSVhsv(309, 77%, 37%)
CMYKcmyk(0%, 76.6%, 11.7%, 63.1%)
CIE-LABlab(22.23, 39.33, -19.68)
CIE-LCHlch(22.23, 43.98, 333.42°)
OKLaboklab(34.62% 0.1146 -0.0538)
OKLCHoklch(34.62% 0.127 334.9)
XYZxyz(6.4644, 3.5786, 8.5322)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1653 #165E21
analogous
#45165E #5E1653 #5E162F
triadic
#5E1653 #535E16 #16535E
tetradic
#5E1653 #5E4516 #165E21 #162F5E
square
#5E1653 #5E4516 #165E21 #162F5E
split-complementary
#5E1653 #2F5E16 #165E45
monochromatic
#190616 #2C0A27 #5E1653 #90227F #C12DAB

Accessibility & contrast

On white

12.24
#5E1653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1653
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1653#FFFFFF#000000##FFFFFF
##5E16531.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E55
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#631C32
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1653;
/* rgb */ color: rgb(94, 22, 83);
/* oklch */ color: oklch(34.6% 0.127 334.9);
Tailwind
colors: {
  custom: {
    50: '#8e5b83',
    500: '#5e1653',
    950: '#000000',
  },
}
SCSS
$custom: #5e1653;
$custom-light: #8e5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1653",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 309.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.12657,
    "h": 334.9
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#5E1653
secondary
#3B9549
accent
#E55B43
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1653

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

Preview Lab → · Contrast checker → · Palette generator →

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