#5C0F5D#5C0F5D

#5C0F5D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.142 H 327.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5C0F5D
RGBrgb(92, 15, 93)
HSLhsl(299, 72%, 21%)
HSVhsv(299, 84%, 36%)
CMYKcmyk(1.1%, 83.9%, 0%, 63.5%)
CIE-LABlab(21.61, 42.99, -27.35)
CIE-LCHlch(21.61, 50.96, 327.53°)
OKLaboklab(34.3% 0.1195 -0.076)
OKLCHoklch(34.3% 0.142 327.6)
XYZxyz(6.5601, 3.4078, 10.6660)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F5D #105D0F
analogous
#350F5D #5C0F5D #5D0F37
triadic
#5C0F5D #5D5C0F #0F5D5C
tetradic
#5C0F5D #5D350F #105D0F #0F375D
square
#5C0F5D #5D350F #105D0F #0F375D
split-complementary
#5C0F5D #375D0F #0F5D35
monochromatic
#1A041A #280628 #5C0F5D #901792 #C420C6

Accessibility & contrast

On white

12.49
#5C0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5C0F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F5D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F5D#FFFFFF#000000##FFFFFF
##5C0F5D1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#5F1D36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c0f5d;
/* rgb */ color: rgb(92, 15, 93);
/* oklch */ color: oklch(34.3% 0.142 327.6);
Tailwind
colors: {
  custom: {
    50: '#8d598b',
    500: '#5c0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f5d;
$custom-light: #8d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f5d",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 299.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34303,
    "c": 0.14158,
    "h": 327.6
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#5C0F5D
secondary
#339631
accent
#EF393B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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