#5E1060#5E1060

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

Color values

HEX#5E1060
RGBrgb(94, 16, 96)
HSLhsl(299, 71%, 22%)
HSVhsv(299, 83%, 38%)
CMYKcmyk(2.1%, 83.3%, 0%, 62.4%)
CIE-LABlab(22.29, 43.68, -28.24)
CIE-LCHlch(22.29, 52.01, 327.12°)
OKLaboklab(34.92% 0.1209 -0.0785)
OKLCHoklch(34.92% 0.144 327)
XYZxyz(6.9126, 3.5953, 11.3939)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1060 #126010
analogous
#361060 #5E1060 #60103A
triadic
#5E1060 #605E10 #10605E
tetradic
#5E1060 #603610 #126010 #103A60
square
#5E1060 #603610 #126010 #103A60
split-complementary
#5E1060 #3A6010 #106036
monochromatic
#1A041A #2B072C #5E1060 #911994 #C521C9

Accessibility & contrast

On white

12.22
#5E1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1060
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1060#FFFFFF#000000##FFFFFF
##5E10601.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#25395E
Tritanopia (blue-blind)
#611E38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1060;
/* rgb */ color: rgb(94, 16, 96);
/* oklch */ color: oklch(34.9% 0.144 327.0);
Tailwind
colors: {
  custom: {
    50: '#8f598d',
    500: '#5e1060',
    950: '#000000',
  },
}
SCSS
$custom: #5e1060;
$custom-light: #8f598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1060",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 298.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34919,
    "c": 0.1441,
    "h": 327
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#5E1060
secondary
#359933
accent
#EE3A3E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1060

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

Preview Lab → · Contrast checker → · Palette generator →

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