#5C0F54#5C0F54

#5C0F54 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.134 H 332.9°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5C0F54
RGBrgb(92, 15, 84)
HSLhsl(306, 72%, 21%)
HSVhsv(306, 84%, 36%)
CMYKcmyk(0%, 83.7%, 8.7%, 63.9%)
CIE-LABlab(21.05, 41.42, -22.23)
CIE-LCHlch(21.05, 47.01, 331.78°)
OKLaboklab(33.72% 0.1196 -0.0611)
OKLCHoklch(33.72% 0.134 332.9)
XYZxyz(6.1847, 3.2576, 8.6888)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F54 #0F5C17
analogous
#3D0F5C #5C0F54 #5C0F2D
triadic
#5C0F54 #545C0F #0F545C
tetradic
#5C0F54 #5C3D0F #0F5C17 #0F2D5C
square
#5C0F54 #5C3D0F #0F5C17 #0F2D5C
split-complementary
#5C0F54 #2D5C0F #0F5C3D
monochromatic
#1A0418 #270624 #5C0F54 #911884 #C520B4

Accessibility & contrast

On white

12.72
#5C0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F54
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F54#FFFFFF#000000##FFFFFF
##5C0F541.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C56
Deuteranopia (green-blind)
#2A3652
Tritanopia (blue-blind)
#601831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c0f54;
/* rgb */ color: rgb(92, 15, 84);
/* oklch */ color: oklch(33.7% 0.134 332.9);
Tailwind
colors: {
  custom: {
    50: '#8d5884',
    500: '#5c0f54',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f54;
$custom-light: #8d5884;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f54",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 306.234,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33723,
    "c": 0.13427,
    "h": 332.9
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#5C0F54
secondary
#31953C
accent
#EF4C39
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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