#5C0F55#5C0F55

#5C0F55 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.135 H 332.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5C0F55
RGBrgb(92, 15, 85)
HSLhsl(305, 72%, 21%)
HSVhsv(305, 84%, 36%)
CMYKcmyk(0%, 83.7%, 7.6%, 63.9%)
CIE-LABlab(21.11, 41.59, -22.81)
CIE-LCHlch(21.11, 47.43, 331.26°)
OKLaboklab(33.78% 0.1196 -0.0628)
OKLCHoklch(33.78% 0.135 332.3)
XYZxyz(6.2242, 3.2734, 8.8966)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F55 #0F5C16
analogous
#3C0F5C #5C0F55 #5C0F2E
triadic
#5C0F55 #555C0F #0F555C
tetradic
#5C0F55 #5C3C0F #0F5C16 #0F2E5C
square
#5C0F55 #5C3C0F #0F5C16 #0F2E5C
split-complementary
#5C0F55 #2E5C0F #0F5C3C
monochromatic
#1A0418 #270624 #5C0F55 #911886 #C520B6

Accessibility & contrast

On white

12.69
#5C0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F55
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F55#FFFFFF#000000##FFFFFF
##5C0F551.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#2A3653
Tritanopia (blue-blind)
#601932
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c0f55;
/* rgb */ color: rgb(92, 15, 85);
/* oklch */ color: oklch(33.8% 0.135 332.3);
Tailwind
colors: {
  custom: {
    50: '#8d5885',
    500: '#5c0f55',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f55;
$custom-light: #8d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f55",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 305.455,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33785,
    "c": 0.13505,
    "h": 332.3
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#5C0F55
secondary
#31953A
accent
#EF4A39
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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