#5C0F60#5C0F60

#5C0F60 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.144 H 325.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#5C0F60
RGBrgb(92, 15, 96)
HSLhsl(297, 73%, 22%)
HSVhsv(297, 84%, 38%)
CMYKcmyk(4.2%, 84.4%, 0%, 62.4%)
CIE-LABlab(21.81, 43.54, -29.02)
CIE-LCHlch(21.81, 52.33, 326.31°)
OKLaboklab(34.51% 0.1193 -0.0808)
OKLCHoklch(34.51% 0.144 325.9)
XYZxyz(6.6956, 3.4620, 11.3796)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F60 #13600F
analogous
#340F60 #5C0F60 #600F3C
triadic
#5C0F60 #605C0F #0F605C
tetradic
#5C0F60 #60340F #13600F #0F3C60
square
#5C0F60 #60340F #13600F #0F3C60
split-complementary
#5C0F60 #3C600F #0F6034
monochromatic
#19041A #29072B #5C0F60 #8F1795 #C120CA

Accessibility & contrast

On white

12.41
#5C0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5C0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F60
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F60#FFFFFF#000000##FFFFFF
##5C0F601.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#23375E
Tritanopia (blue-blind)
#5E1E38
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c0f60;
/* rgb */ color: rgb(92, 15, 96);
/* oklch */ color: oklch(34.5% 0.144 325.9);
Tailwind
colors: {
  custom: {
    50: '#8d598d',
    500: '#5c0f60',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f60;
$custom-light: #8d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f60",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 297.037,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34508,
    "c": 0.1441,
    "h": 325.9
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#5C0F60
secondary
#379932
accent
#F03841
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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