#5C2296#5C2296

#5C2296 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 301.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#5C2296
RGBrgb(92, 34, 150)
HSLhsl(270, 63%, 36%)
HSVhsv(270, 77%, 59%)
CMYKcmyk(38.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(28.44, 48.30, -52.63)
CIE-LCHlch(28.44, 71.43, 312.54°)
OKLaboklab(40.49% 0.092 -0.1502)
OKLCHoklch(40.49% 0.176 301.5)
XYZxyz(10.4893, 5.6213, 29.3806)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2296 #5C9622
analogous
#222296 #5C2296 #962296
triadic
#5C2296 #965C22 #22965C
tetradic
#5C2296 #962222 #5C9622 #229696
square
#5C2296 #962222 #5C9622 #229696
split-complementary
#5C2296 #969622 #229622
monochromatic
#1F0B32 #3D1764 #5C2296 #7B2DC8 #9959D9

Accessibility & contrast

On white

9.89
#5C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5C2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2296
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2296#FFFFFF#000000##FFFFFF
##5C22961.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#4F405B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c2296;
/* rgb */ color: rgb(92, 34, 150);
/* oklch */ color: oklch(40.5% 0.176 301.5);
Tailwind
colors: {
  custom: {
    50: '#9064b6',
    500: '#5c2296',
    950: '#000000',
  },
}
SCSS
$custom: #5c2296;
$custom-light: #9064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2296",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 270,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.17616,
    "h": 301.5
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#5C2296
secondary
#8ABE56
accent
#E64294
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2296

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

Preview Lab → · Contrast checker → · Palette generator →

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