#5C2BB6#5C2BB6

#5C2BB6 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.202 H 292.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5C2BB6
RGBrgb(92, 43, 182)
HSLhsl(261, 62%, 44%)
HSVhsv(261, 76%, 71%)
CMYKcmyk(49.5%, 76.4%, 0%, 28.6%)
CIE-LABlab(32.66, 52.55, -65.03)
CIE-LCHlch(32.66, 83.61, 308.94°)
OKLaboklab(44.32% 0.0758 -0.1867)
OKLCHoklch(44.32% 0.202 292.1)
XYZxyz(13.7186, 7.3800, 44.9485)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BB6 #85B62B
analogous
#2B40B6 #5C2BB6 #A22BB6
triadic
#5C2BB6 #B65C2B #2BB65C
tetradic
#5C2BB6 #B62B40 #85B62B #2BB6A2
square
#5C2BB6 #B62B40 #85B62B #2BB6A2
split-complementary
#5C2BB6 #B6A22B #40B62B
monochromatic
#2A1453 #431F84 #5C2BB6 #7B4AD4 #9F7BE0

Accessibility & contrast

On white

8.48
#5C2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5C2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BB6
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BB6#FFFFFF#000000##FFFFFF
##5C2BB61.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#3E516F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2bb6;
/* rgb */ color: rgb(92, 43, 182);
/* oklch */ color: oklch(44.3% 0.202 292.1);
Tailwind
colors: {
  custom: {
    50: '#936acd',
    500: '#5c2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bb6;
$custom-light: #936acd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bb6",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 261.151,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44316,
    "c": 0.2015,
    "h": 292.1
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#5C2BB6
secondary
#ABC875
accent
#E543AC
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5C2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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