#5C0D56#5C0D56

#5C0D56 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.138 H 331.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5C0D56
RGBrgb(92, 13, 86)
HSLhsl(305, 75%, 21%)
HSVhsv(305, 86%, 36%)
CMYKcmyk(0%, 85.9%, 6.5%, 63.9%)
CIE-LABlab(20.96, 42.35, -23.71)
CIE-LCHlch(20.96, 48.53, 330.76°)
OKLaboklab(33.7% 0.1213 -0.0654)
OKLCHoklch(33.7% 0.138 331.7)
XYZxyz(6.2373, 3.2356, 9.0983)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D56 #0D5C13
analogous
#3A0D5C #5C0D56 #5C0D2E
triadic
#5C0D56 #565C0D #0D565C
tetradic
#5C0D56 #5C3A0D #0D5C13 #0D2E5C
square
#5C0D56 #5C3A0D #0D5C13 #0D2E5C
split-complementary
#5C0D56 #2E5C0D #0D5C3A
monochromatic
#1B0419 #260524 #5C0D56 #921588 #C71CBA

Accessibility & contrast

On white

12.75
#5C0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0D56
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D56#FFFFFF#000000##FFFFFF
##5C0D561.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052B58
Deuteranopia (green-blind)
#283654
Tritanopia (blue-blind)
#601832
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0d56;
/* rgb */ color: rgb(92, 13, 86);
/* oklch */ color: oklch(33.7% 0.138 331.7);
Tailwind
colors: {
  custom: {
    50: '#8d5886',
    500: '#5c0d56',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d56;
$custom-light: #8d5886;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d56",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 304.557,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.1378,
    "h": 331.7
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#5C0D56
secondary
#2F9636
accent
#F24436
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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