#5E1066#5E1066

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

Color values

HEX#5E1066
RGBrgb(94, 16, 102)
HSLhsl(294, 73%, 23%)
HSVhsv(294, 84%, 40%)
CMYKcmyk(7.8%, 84.3%, 0%, 60%)
CIE-LABlab(22.69, 44.79, -31.54)
CIE-LCHlch(22.69, 54.78, 324.85°)
OKLaboklab(35.33% 0.1204 -0.0881)
OKLCHoklch(35.33% 0.149 323.8)
XYZxyz(7.1994, 3.7100, 12.9047)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1066 #186610
analogous
#331066 #5E1066 #661043
triadic
#5E1066 #665E10 #10665E
tetradic
#5E1066 #663310 #186610 #104366
square
#5E1066 #663310 #186610 #104366
split-complementary
#5E1066 #436610 #106633
monochromatic
#18041A #2D0831 #5E1066 #8F189B #C021D0

Accessibility & contrast

On white

12.06
#5E1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1066
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1066#FFFFFF#000000##FFFFFF
##5E10661.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#213964
Tritanopia (blue-blind)
#60223C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1066;
/* rgb */ color: rgb(94, 16, 102);
/* oklch */ color: oklch(35.3% 0.149 323.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a92',
    500: '#5e1066',
    950: '#000000',
  },
}
SCSS
$custom: #5e1066;
$custom-light: #8f5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1066",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 294.419,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.14916,
    "h": 323.8
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#5E1066
secondary
#3D9E33
accent
#F03849
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1066

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

Preview Lab → · Contrast checker → · Palette generator →

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