#5C0F76#5C0F76

#5C0F76 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.2% C 0.163 H 315.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#5C0F76
RGBrgb(92, 15, 118)
HSLhsl(285, 77%, 26%)
HSVhsv(285, 87%, 46%)
CMYKcmyk(22%, 87.3%, 0%, 53.7%)
CIE-LABlab(23.42, 47.85, -40.73)
CIE-LCHlch(23.42, 62.84, 319.60°)
OKLaboklab(36.16% 0.1157 -0.1151)
OKLCHoklch(36.16% 0.163 315.1)
XYZxyz(7.8539, 3.9253, 17.4800)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F76 #29760F
analogous
#280F76 #5C0F76 #760F5C
triadic
#5C0F76 #765C0F #0F765C
tetradic
#5C0F76 #76280F #29760F #0F5C76
square
#5C0F76 #76280F #29760F #0F5C76
split-complementary
#5C0F76 #5C760F #0F7628
monochromatic
#15031B #320840 #5C0F76 #8616AC #B11DE2

Accessibility & contrast

On white

11.76
#5C0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F76
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F76#FFFFFF#000000##FFFFFF
##5C0F761.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#073A74
Tritanopia (blue-blind)
#5A2A45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c0f76;
/* rgb */ color: rgb(92, 15, 118);
/* oklch */ color: oklch(36.2% 0.163 315.1);
Tailwind
colors: {
  custom: {
    50: '#8e5a9e',
    500: '#5c0f76',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f76;
$custom-light: #8e5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f76",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 284.854,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.16323,
    "h": 315.1
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#5C0F76
secondary
#52AD33
accent
#F43464
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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