#5C2CB8#5C2CB8

#5C2CB8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.203 H 291.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5C2CB8
RGBrgb(92, 44, 184)
HSLhsl(261, 61%, 45%)
HSVhsv(261, 76%, 72%)
CMYKcmyk(50%, 76.1%, 0%, 27.8%)
CIE-LABlab(33.00, 52.63, -65.65)
CIE-LCHlch(33.00, 84.14, 308.72°)
OKLaboklab(44.61% 0.0745 -0.1885)
OKLCHoklch(44.61% 0.203 291.6)
XYZxyz(13.9636, 7.5368, 46.0571)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CB8 #88B82C
analogous
#2C42B8 #5C2CB8 #A22CB8
triadic
#5C2CB8 #B85C2C #2CB85C
tetradic
#5C2CB8 #B82C42 #88B82C #2CB8A2
square
#5C2CB8 #B82C42 #88B82C #2CB8A2
split-complementary
#5C2CB8 #B8A22C #42B82C
monochromatic
#2B1455 #432087 #5C2CB8 #7B4DD4 #A07EE0

Accessibility & contrast

On white

8.38
#5C2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5C2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CB8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CB8#FFFFFF#000000##FFFFFF
##5C2CB81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#3D5371
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c2cb8;
/* rgb */ color: rgb(92, 44, 184);
/* oklch */ color: oklch(44.6% 0.203 291.6);
Tailwind
colors: {
  custom: {
    50: '#936bce',
    500: '#5c2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #5c2cb8;
$custom-light: #936bce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2cb8",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 260.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44611,
    "c": 0.2027,
    "h": 291.6
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#5C2CB8
secondary
#ADC977
accent
#E543AD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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