#5C1150#5C1150

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

Color values

HEX#5C1150
RGBrgb(92, 17, 80)
HSLhsl(310, 69%, 21%)
HSVhsv(310, 82%, 36%)
CMYKcmyk(0%, 81.5%, 13%, 63.9%)
CIE-LABlab(21.04, 40.11, -19.54)
CIE-LCHlch(21.04, 44.62, 334.02°)
OKLaboklab(33.64% 0.1174 -0.0534)
OKLCHoklch(33.64% 0.129 335.6)
XYZxyz(6.0621, 3.2559, 7.8971)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1150 #115C1D
analogous
#43115C #5C1150 #5C112B
triadic
#5C1150 #505C11 #11505C
tetradic
#5C1150 #5C4311 #115C1D #112B5C
square
#5C1150 #5C4311 #115C1D #112B5C
split-complementary
#5C1150 #2B5C11 #115C43
monochromatic
#1A0516 #280723 #5C1150 #901B7D #C324AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1150#FFFFFF#000000##FFFFFF
##5C11501.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)
#112B52
Deuteranopia (green-blind)
#2D374E
Tritanopia (blue-blind)
#61172F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1150;
/* rgb */ color: rgb(92, 17, 80);
/* oklch */ color: oklch(33.6% 0.129 335.6);
Tailwind
colors: {
  custom: {
    50: '#8d5981',
    500: '#5c1150',
    950: '#000000',
  },
}
SCSS
$custom: #5c1150;
$custom-light: #8d5981;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1150",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 309.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33643,
    "c": 0.12897,
    "h": 335.6
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#5C1150
secondary
#349544
accent
#EC583C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C1150

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

Preview Lab → · Contrast checker → · Palette generator →

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