#5C2076#5C2076

#5C2076 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.145 H 313.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#5C2076
RGBrgb(92, 32, 118)
HSLhsl(282, 57%, 29%)
HSVhsv(282, 73%, 46%)
CMYKcmyk(22%, 72.9%, 0%, 53.7%)
CIE-LABlab(25.61, 41.56, -37.19)
CIE-LCHlch(25.61, 55.77, 318.18°)
OKLaboklab(37.7% 0.1 -0.1049)
OKLCHoklch(37.7% 0.145 313.6)
XYZxyz(8.1996, 4.6166, 17.5952)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2076 #3A7620
analogous
#312076 #5C2076 #762065
triadic
#5C2076 #765C20 #20765C
tetradic
#5C2076 #763120 #3A7620 #206576
square
#5C2076 #763120 #3A7620 #206576
split-complementary
#5C2076 #657620 #207631
monochromatic
#130718 #361346 #5C2076 #822DA6 #A344CC

Accessibility & contrast

On white

10.92
#5C2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5C2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2076
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2076#FFFFFF#000000##FFFFFF
##5C20761.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#1A3E74
Tritanopia (blue-blind)
#593248
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5c2076;
/* rgb */ color: rgb(92, 32, 118);
/* oklch */ color: oklch(37.7% 0.145 313.6);
Tailwind
colors: {
  custom: {
    50: '#8d619e',
    500: '#5c2076',
    950: '#000000',
  },
}
SCSS
$custom: #5c2076;
$custom-light: #8d619e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2076",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 281.86,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.14491,
    "h": 313.6
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#5C2076
secondary
#66A948
accent
#E14776
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0D050E
muted
#7D797E

Preview Lab

Preview with #5C2076

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

Preview Lab → · Contrast checker → · Palette generator →

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