#5C0E56#5C0E56

#5C0E56 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.137 H 331.7°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5C0E56
RGBrgb(92, 14, 86)
HSLhsl(305, 74%, 21%)
HSVhsv(305, 85%, 36%)
CMYKcmyk(0%, 84.8%, 6.5%, 63.9%)
CIE-LABlab(21.06, 42.06, -23.55)
CIE-LCHlch(21.06, 48.21, 330.76°)
OKLaboklab(33.77% 0.1205 -0.0649)
OKLCHoklch(33.77% 0.137 331.7)
XYZxyz(6.2504, 3.2618, 9.1027)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E56 #0E5C14
analogous
#3B0E5C #5C0E56 #5C0E2F
triadic
#5C0E56 #565C0E #0E565C
tetradic
#5C0E56 #5C3B0E #0E5C14 #0E2F5C
square
#5C0E56 #5C3B0E #0E5C14 #0E2F5C
split-complementary
#5C0E56 #2F5C0E #0E5C3B
monochromatic
#1B0419 #270624 #5C0E56 #911688 #C61EB9

Accessibility & contrast

On white

12.71
#5C0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C0E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0E56
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E56#FFFFFF#000000##FFFFFF
##5C0E561.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C58
Deuteranopia (green-blind)
#293654
Tritanopia (blue-blind)
#601932
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c0e56;
/* rgb */ color: rgb(92, 14, 86);
/* oklch */ color: oklch(33.8% 0.137 331.7);
Tailwind
colors: {
  custom: {
    50: '#8d5886',
    500: '#5c0e56',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e56;
$custom-light: #8d5886;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e56",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 304.615,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33773,
    "c": 0.13685,
    "h": 331.7
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#5C0E56
secondary
#309638
accent
#F04638
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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