#5D106A#5D106A

#5D106A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.152 H 321.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#5D106A
RGBrgb(93, 16, 106)
HSLhsl(291, 74%, 24%)
HSVhsv(291, 85%, 42%)
CMYKcmyk(12.3%, 84.9%, 0%, 58.4%)
CIE-LABlab(22.79, 45.35, -34.00)
CIE-LCHlch(22.79, 56.68, 323.14°)
OKLaboklab(35.46% 0.1186 -0.0953)
OKLCHoklch(35.46% 0.152 321.2)
XYZxyz(7.3007, 3.7388, 13.9700)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D106A #1D6A10
analogous
#30106A #5D106A #6A104A
triadic
#5D106A #6A5D10 #106A5D
tetradic
#5D106A #6A3010 #1D6A10 #104A6A
square
#5D106A #6A3010 #1D6A10 #104A6A
split-complementary
#5D106A #4A6A10 #106A30
monochromatic
#17041B #2E0835 #5D106A #8C189F #BA20D4

Accessibility & contrast

On white

12.02
#5D106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D106A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D106A#FFFFFF#000000##FFFFFF
##5D106A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#1C3968
Tritanopia (blue-blind)
#5E243E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d106a;
/* rgb */ color: rgb(93, 16, 106);
/* oklch */ color: oklch(35.5% 0.152 321.2);
Tailwind
colors: {
  custom: {
    50: '#8e5a95',
    500: '#5d106a',
    950: '#000000',
  },
}
SCSS
$custom: #5d106a;
$custom-light: #8e5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d106a",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 291.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35459,
    "c": 0.15218,
    "h": 321.2
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#5D106A
secondary
#44A234
accent
#F03752
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D106A

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

Preview Lab → · Contrast checker → · Palette generator →

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