#5C1165#5C1165

#5C1165 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.146 H 323.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5C1165
RGBrgb(92, 17, 101)
HSLhsl(294, 71%, 23%)
HSVhsv(294, 83%, 40%)
CMYKcmyk(8.9%, 83.2%, 0%, 60.4%)
CIE-LABlab(22.36, 43.87, -31.43)
CIE-LCHlch(22.36, 53.96, 324.38°)
OKLaboklab(35.01% 0.1172 -0.0879)
OKLCHoklch(35.01% 0.146 323.1)
XYZxyz(6.9628, 3.6162, 12.6407)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1165 #1A6511
analogous
#321165 #5C1165 #651144
triadic
#5C1165 #655C11 #11655C
tetradic
#5C1165 #653211 #1A6511 #114465
square
#5C1165 #653211 #1A6511 #114465
split-complementary
#5C1165 #446511 #116532
monochromatic
#18041A #2C0831 #5C1165 #8C1A99 #BB23CE

Accessibility & contrast

On white

12.19
#5C1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1165
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1165#FFFFFF#000000##FFFFFF
##5C11651.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#203863
Tritanopia (blue-blind)
#5D223B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1165;
/* rgb */ color: rgb(92, 17, 101);
/* oklch */ color: oklch(35.0% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#8d5a91',
    500: '#5c1165',
    950: '#000000',
  },
}
SCSS
$custom: #5c1165;
$custom-light: #8d5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1165",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 293.571,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35009,
    "c": 0.14644,
    "h": 323.1
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#5C1165
secondary
#409D35
accent
#EE3A4D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1165

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

Preview Lab → · Contrast checker → · Palette generator →

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