#5C0D55#5C0D55

#5C0D55 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.137 H 332.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5C0D55
RGBrgb(92, 13, 85)
HSLhsl(305, 75%, 21%)
HSVhsv(305, 86%, 36%)
CMYKcmyk(0%, 85.9%, 7.6%, 63.9%)
CIE-LABlab(20.90, 42.18, -23.13)
CIE-LCHlch(20.90, 48.11, 331.26°)
OKLaboklab(33.64% 0.1213 -0.0637)
OKLCHoklch(33.64% 0.137 332.3)
XYZxyz(6.1973, 3.2196, 8.8876)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D55 #0D5C14
analogous
#3B0D5C #5C0D55 #5C0D2E
triadic
#5C0D55 #555C0D #0D555C
tetradic
#5C0D55 #5C3B0D #0D5C14 #0D2E5C
square
#5C0D55 #5C3B0D #0D5C14 #0D2E5C
split-complementary
#5C0D55 #2E5C0D #0D5C3B
monochromatic
#1B0419 #260523 #5C0D55 #921587 #C71CB8

Accessibility & contrast

On white

12.78
#5C0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C0D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0D55
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D55#FFFFFF#000000##FFFFFF
##5C0D551.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062B57
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#601731
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0d55;
/* rgb */ color: rgb(92, 13, 85);
/* oklch */ color: oklch(33.6% 0.137 332.3);
Tailwind
colors: {
  custom: {
    50: '#8d5885',
    500: '#5c0d55',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d55;
$custom-light: #8d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d55",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 305.316,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.13701,
    "h": 332.3
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#5C0D55
secondary
#2F9638
accent
#F24736
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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