#5C0F68#5C0F68

#5C0F68 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.151 H 321.7°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5C0F68
RGBrgb(92, 15, 104)
HSLhsl(292, 75%, 23%)
HSVhsv(292, 86%, 41%)
CMYKcmyk(11.5%, 85.6%, 0%, 59.2%)
CIE-LABlab(22.36, 45.05, -33.39)
CIE-LCHlch(22.36, 56.08, 323.46°)
OKLaboklab(35.08% 0.1184 -0.0936)
OKLCHoklch(35.08% 0.151 321.7)
XYZxyz(7.0829, 3.6168, 13.4191)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F68 #1B680F
analogous
#2F0F68 #5C0F68 #680F47
triadic
#5C0F68 #685C0F #0F685C
tetradic
#5C0F68 #682F0F #1B680F #0F4768
square
#5C0F68 #682F0F #1B680F #0F4768
split-complementary
#5C0F68 #47680F #0F682F
monochromatic
#18041B #2D0733 #5C0F68 #8B179D #BB1ED3

Accessibility & contrast

On white

12.19
#5C0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F68
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F68#FFFFFF#000000##FFFFFF
##5C0F681.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#1C3866
Tritanopia (blue-blind)
#5D233C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c0f68;
/* rgb */ color: rgb(92, 15, 104);
/* oklch */ color: oklch(35.1% 0.151 321.7);
Tailwind
colors: {
  custom: {
    50: '#8e5994',
    500: '#5c0f68',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f68;
$custom-light: #8e5994;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f68",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 291.91,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.15093,
    "h": 321.7
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#5C0F68
secondary
#41A132
accent
#F13650
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5C0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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