#5C0F59#5C0F59

#5C0F59 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.138 H 329.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5C0F59
RGBrgb(92, 15, 89)
HSLhsl(302, 72%, 21%)
HSVhsv(302, 84%, 36%)
CMYKcmyk(0%, 83.7%, 3.3%, 63.9%)
CIE-LABlab(21.35, 42.28, -25.10)
CIE-LCHlch(21.35, 49.17, 329.31°)
OKLaboklab(34.04% 0.1196 -0.0694)
OKLCHoklch(34.04% 0.138 329.9)
XYZxyz(6.3876, 3.3387, 9.7573)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F59 #0F5C12
analogous
#380F5C #5C0F59 #5C0F32
triadic
#5C0F59 #595C0F #0F595C
tetradic
#5C0F59 #5C380F #0F5C12 #0F325C
square
#5C0F59 #5C380F #0F5C12 #0F325C
split-complementary
#5C0F59 #325C0F #0F5C38
monochromatic
#1A0419 #270626 #5C0F59 #91188C #C520BF

Accessibility & contrast

On white

12.59
#5C0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C0F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F59
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F59#FFFFFF#000000##FFFFFF
##5C0F591.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#273757
Tritanopia (blue-blind)
#601B34
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c0f59;
/* rgb */ color: rgb(92, 15, 89);
/* oklch */ color: oklch(34.0% 0.138 329.9);
Tailwind
colors: {
  custom: {
    50: '#8d5888',
    500: '#5c0f59',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f59;
$custom-light: #8d5888;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f59",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 302.338,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.13829,
    "h": 329.9
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#5C0F59
secondary
#319535
accent
#EF4039
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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