#5C0F57#5C0F57

#5C0F57 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.137 H 331.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5C0F57
RGBrgb(92, 15, 87)
HSLhsl(304, 72%, 21%)
HSVhsv(304, 84%, 36%)
CMYKcmyk(0%, 83.7%, 5.4%, 63.9%)
CIE-LABlab(21.23, 41.93, -23.96)
CIE-LCHlch(21.23, 48.30, 330.26°)
OKLaboklab(33.91% 0.1196 -0.0661)
OKLCHoklch(33.91% 0.137 331.1)
XYZxyz(6.3048, 3.3056, 9.3210)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F57 #0F5C14
analogous
#3A0F5C #5C0F57 #5C0F30
triadic
#5C0F57 #575C0F #0F575C
tetradic
#5C0F57 #5C3A0F #0F5C14 #0F305C
square
#5C0F57 #5C3A0F #0F5C14 #0F305C
split-complementary
#5C0F57 #305C0F #0F5C3A
monochromatic
#1A0419 #270625 #5C0F57 #911889 #C520BB

Accessibility & contrast

On white

12.64
#5C0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5C0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F57
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F57#FFFFFF#000000##FFFFFF
##5C0F571.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C59
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#601A33
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c0f57;
/* rgb */ color: rgb(92, 15, 87);
/* oklch */ color: oklch(33.9% 0.137 331.1);
Tailwind
colors: {
  custom: {
    50: '#8d5887',
    500: '#5c0f57',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f57;
$custom-light: #8d5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f57",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 303.896,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33911,
    "c": 0.13667,
    "h": 331.1
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#5C0F57
secondary
#319538
accent
#EF4539
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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