#5C0F53#5C0F53

#5C0F53 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.133 H 333.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5C0F53
RGBrgb(92, 15, 83)
HSLhsl(307, 72%, 21%)
HSVhsv(307, 84%, 36%)
CMYKcmyk(0%, 83.7%, 9.8%, 63.9%)
CIE-LABlab(20.99, 41.25, -21.65)
CIE-LCHlch(20.99, 46.59, 332.31°)
OKLaboklab(33.66% 0.1195 -0.0594)
OKLCHoklch(33.66% 0.133 333.6)
XYZxyz(6.1458, 3.2420, 8.4840)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F53 #0F5C18
analogous
#3E0F5C #5C0F53 #5C0F2C
triadic
#5C0F53 #535C0F #0F535C
tetradic
#5C0F53 #5C3E0F #0F5C18 #0F2C5C
square
#5C0F53 #5C3E0F #0F5C18 #0F2C5C
split-complementary
#5C0F53 #2C5C0F #0F5C3E
monochromatic
#1A0418 #270624 #5C0F53 #911882 #C520B2

Accessibility & contrast

On white

12.74
#5C0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F53
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F53#FFFFFF#000000##FFFFFF
##5C0F531.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#2B3651
Tritanopia (blue-blind)
#611730
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0f53;
/* rgb */ color: rgb(92, 15, 83);
/* oklch */ color: oklch(33.7% 0.133 333.6);
Tailwind
colors: {
  custom: {
    50: '#8d5883',
    500: '#5c0f53',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f53;
$custom-light: #8d5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f53",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 307.013,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.13348,
    "h": 333.6
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#5C0F53
secondary
#31953D
accent
#EF4E39
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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