#5C1155#5C1155

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

Color values

HEX#5C1155
RGBrgb(92, 17, 85)
HSLhsl(306, 69%, 21%)
HSVhsv(306, 82%, 36%)
CMYKcmyk(0%, 81.5%, 7.6%, 63.9%)
CIE-LABlab(21.33, 40.95, -22.46)
CIE-LCHlch(21.33, 46.70, 331.26°)
OKLaboklab(33.94% 0.1177 -0.0618)
OKLCHoklch(33.94% 0.133 332.3)
XYZxyz(6.2538, 3.3326, 8.9065)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1155 #115C18
analogous
#3E115C #5C1155 #5C1130
triadic
#5C1155 #555C11 #11555C
tetradic
#5C1155 #5C3E11 #115C18 #11305C
square
#5C1155 #5C3E11 #115C18 #11305C
split-complementary
#5C1155 #305C11 #115C3E
monochromatic
#1A0518 #280725 #5C1155 #901B85 #C324B4

Accessibility & contrast

On white

12.60
#5C1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1155
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1155#FFFFFF#000000##FFFFFF
##5C11551.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C57
Deuteranopia (green-blind)
#2A3753
Tritanopia (blue-blind)
#601A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1155;
/* rgb */ color: rgb(92, 17, 85);
/* oklch */ color: oklch(33.9% 0.133 332.3);
Tailwind
colors: {
  custom: {
    50: '#8d5985',
    500: '#5c1155',
    950: '#000000',
  },
}
SCSS
$custom: #5c1155;
$custom-light: #8d5985;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1155",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 305.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33944,
    "c": 0.13294,
    "h": 332.3
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#5C1155
secondary
#34953D
accent
#EC4D3C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C1155

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

Preview Lab → · Contrast checker → · Palette generator →

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