#5C0E55#5C0E55

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

Color values

HEX#5C0E55
RGBrgb(92, 14, 85)
HSLhsl(305, 74%, 21%)
HSVhsv(305, 85%, 36%)
CMYKcmyk(0%, 84.8%, 7.6%, 63.9%)
CIE-LABlab(21.00, 41.89, -22.97)
CIE-LCHlch(21.00, 47.78, 331.26°)
OKLaboklab(33.71% 0.1205 -0.0632)
OKLCHoklch(33.71% 0.136 332.3)
XYZxyz(6.2104, 3.2458, 8.8920)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E55 #0E5C15
analogous
#3C0E5C #5C0E55 #5C0E2E
triadic
#5C0E55 #555C0E #0E555C
tetradic
#5C0E55 #5C3C0E #0E5C15 #0E2E5C
square
#5C0E55 #5C3C0E #0E5C15 #0E2E5C
split-complementary
#5C0E55 #2E5C0E #0E5C3C
monochromatic
#1B0419 #270624 #5C0E55 #911686 #C61EB7

Accessibility & contrast

On white

12.73
#5C0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0E55
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E55#FFFFFF#000000##FFFFFF
##5C0E551.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C57
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#601831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0e55;
/* rgb */ color: rgb(92, 14, 85);
/* oklch */ color: oklch(33.7% 0.136 332.3);
Tailwind
colors: {
  custom: {
    50: '#8d5885',
    500: '#5c0e55',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e55;
$custom-light: #8d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e55",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 305.385,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.13605,
    "h": 332.3
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#5C0E55
secondary
#309639
accent
#F04838
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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