#5C2176#5C2176

#5C2176 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.144 H 313.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#5C2176
RGBrgb(92, 33, 118)
HSLhsl(282, 56%, 30%)
HSVhsv(282, 72%, 46%)
CMYKcmyk(22%, 72%, 0%, 53.7%)
CIE-LABlab(25.78, 41.10, -36.93)
CIE-LCHlch(25.78, 55.25, 318.06°)
OKLaboklab(37.82% 0.0989 -0.1041)
OKLCHoklch(37.82% 0.144 313.5)
XYZxyz(8.2269, 4.6713, 17.6043)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2176 #3B7621
analogous
#322176 #5C2176 #762166
triadic
#5C2176 #765C21 #21765C
tetradic
#5C2176 #763221 #3B7621 #216676
square
#5C2176 #763221 #3B7621 #216676
split-complementary
#5C2176 #667621 #217632
monochromatic
#130718 #371446 #5C2176 #812EA6 #A346CB

Accessibility & contrast

On white

10.86
#5C2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5C2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2176
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2176#FFFFFF#000000##FFFFFF
##5C21761.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#1B3E74
Tritanopia (blue-blind)
#593349
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5c2176;
/* rgb */ color: rgb(92, 33, 118);
/* oklch */ color: oklch(37.8% 0.144 313.5);
Tailwind
colors: {
  custom: {
    50: '#8d629e',
    500: '#5c2176',
    950: '#000000',
  },
}
SCSS
$custom: #5c2176;
$custom-light: #8d629e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2176",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 281.647,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.14355,
    "h": 313.5
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#5C2176
secondary
#67A94A
accent
#E04877
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D050E
muted
#7D7A7E

Preview Lab

Preview with #5C2176

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

Preview Lab → · Contrast checker → · Palette generator →

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