#5C106A#5C106A

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

Color values

HEX#5C106A
RGBrgb(92, 16, 106)
HSLhsl(291, 74%, 24%)
HSVhsv(291, 85%, 42%)
CMYKcmyk(13.2%, 84.9%, 0%, 58.4%)
CIE-LABlab(22.61, 45.15, -34.30)
CIE-LCHlch(22.61, 56.70, 322.78°)
OKLaboklab(35.3% 0.1173 -0.0963)
OKLCHoklch(35.3% 0.152 320.6)
XYZxyz(7.2001, 3.6869, 13.9653)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C106A #1E6A10
analogous
#2F106A #5C106A #6A104B
triadic
#5C106A #6A5C10 #106A5C
tetradic
#5C106A #6A2F10 #1E6A10 #104B6A
square
#5C106A #6A2F10 #1E6A10 #104B6A
split-complementary
#5C106A #4B6A10 #106A2F
monochromatic
#17041B #2E0835 #5C106A #8A189F #B820D4

Accessibility & contrast

On white

12.09
#5C106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C106A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C106A#FFFFFF#000000##FFFFFF
##5C106A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c106a;
/* rgb */ color: rgb(92, 16, 106);
/* oklch */ color: oklch(35.3% 0.152 320.6);
Tailwind
colors: {
  custom: {
    50: '#8e5a95',
    500: '#5c106a',
    950: '#000000',
  },
}
SCSS
$custom: #5c106a;
$custom-light: #8e5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5c106a",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 290.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.15176,
    "h": 320.6
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#5C106A
secondary
#45A234
accent
#F03754
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5C106A

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

Preview Lab → · Contrast checker → · Palette generator →

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