#5C2276#5C2276

#5C2276 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.142 H 313.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#5C2276
RGBrgb(92, 34, 118)
HSLhsl(281, 55%, 30%)
HSVhsv(281, 71%, 46%)
CMYKcmyk(22%, 71.2%, 0%, 53.7%)
CIE-LABlab(25.94, 40.63, -36.66)
CIE-LCHlch(25.94, 54.73, 317.94°)
OKLaboklab(37.94% 0.0977 -0.1033)
OKLCHoklch(37.94% 0.142 313.4)
XYZxyz(8.2551, 4.7276, 17.6137)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2276 #3C7622
analogous
#322276 #5C2276 #762266
triadic
#5C2276 #765C22 #22765C
tetradic
#5C2276 #763222 #3C7622 #226676
square
#5C2276 #763222 #3C7622 #226676
split-complementary
#5C2276 #667622 #227632
monochromatic
#130718 #371446 #5C2276 #8130A6 #A248CA

Accessibility & contrast

On white

10.79
#5C2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#5C2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2276
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2276#FFFFFF#000000##FFFFFF
##5C22761.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c2276;
/* rgb */ color: rgb(92, 34, 118);
/* oklch */ color: oklch(37.9% 0.142 313.4);
Tailwind
colors: {
  custom: {
    50: '#8d629e',
    500: '#5c2276',
    950: '#000000',
  },
}
SCSS
$custom: #5c2276;
$custom-light: #8d629e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2276",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 281.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.14218,
    "h": 313.4
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#5C2276
secondary
#68A94B
accent
#DF4977
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #5C2276

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

Preview Lab → · Contrast checker → · Palette generator →

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