#5E1362#5E1362

#5E1362 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.143 H 325.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#5E1362
RGBrgb(94, 19, 98)
HSLhsl(297, 68%, 23%)
HSVhsv(297, 81%, 38%)
CMYKcmyk(4.1%, 80.6%, 0%, 61.6%)
CIE-LABlab(22.75, 43.09, -28.81)
CIE-LCHlch(22.75, 51.84, 326.23°)
OKLaboklab(35.29% 0.1181 -0.0802)
OKLCHoklch(35.29% 0.143 325.8)
XYZxyz(7.0534, 3.7277, 11.9009)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1362 #176213
analogous
#361362 #5E1362 #62133E
triadic
#5E1362 #625E13 #13625E
tetradic
#5E1362 #623613 #176213 #133E62
square
#5E1362 #623613 #176213 #133E62
split-complementary
#5E1362 #3E6213 #136236
monochromatic
#19051A #2D092F #5E1362 #8F1D95 #C027C9

Accessibility & contrast

On white

12.03
#5E1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1362
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1362#FFFFFF#000000##FFFFFF
##5E13621.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#253960
Tritanopia (blue-blind)
#60213A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1362;
/* rgb */ color: rgb(94, 19, 98);
/* oklch */ color: oklch(35.3% 0.143 325.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b8f',
    500: '#5e1362',
    950: '#000000',
  },
}
SCSS
$custom: #5e1362;
$custom-light: #8f5b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1362",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 296.962,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35292,
    "c": 0.14271,
    "h": 325.8
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#5E1362
secondary
#3C9A37
accent
#EA3D46
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1362

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

Preview Lab → · Contrast checker → · Palette generator →

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