#5E106A#5E106A

#5E106A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.153 H 321.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#5E106A
RGBrgb(94, 16, 106)
HSLhsl(292, 74%, 24%)
HSVhsv(292, 85%, 42%)
CMYKcmyk(11.3%, 84.9%, 0%, 58.4%)
CIE-LABlab(22.97, 45.56, -33.70)
CIE-LCHlch(22.97, 56.66, 323.51°)
OKLaboklab(35.62% 0.1199 -0.0944)
OKLCHoklch(35.62% 0.153 321.8)
XYZxyz(7.4026, 3.7913, 13.9748)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E106A #1C6A10
analogous
#31106A #5E106A #6A1049
triadic
#5E106A #6A5E10 #106A5E
tetradic
#5E106A #6A3110 #1C6A10 #10496A
square
#5E106A #6A3110 #1C6A10 #10496A
split-complementary
#5E106A #496A10 #106A31
monochromatic
#18041B #2F0835 #5E106A #8D189F #BC20D4

Accessibility & contrast

On white

11.94
#5E106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E106A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E106A#FFFFFF#000000##FFFFFF
##5E106A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#1E3A68
Tritanopia (blue-blind)
#5F243E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e106a;
/* rgb */ color: rgb(94, 16, 106);
/* oklch */ color: oklch(35.6% 0.153 321.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a95',
    500: '#5e106a',
    950: '#000000',
  },
}
SCSS
$custom: #5e106a;
$custom-light: #8f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5e106a",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 292,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35622,
    "c": 0.1526,
    "h": 321.8
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#5E106A
secondary
#42A234
accent
#F03750
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E106A

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

Preview Lab → · Contrast checker → · Palette generator →

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