#5C2BB7#5C2BB7

#5C2BB7 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.203 H 291.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5C2BB7
RGBrgb(92, 43, 183)
HSLhsl(261, 62%, 44%)
HSVhsv(261, 77%, 72%)
CMYKcmyk(49.7%, 76.5%, 0%, 28.2%)
CIE-LABlab(32.75, 52.82, -65.47)
CIE-LCHlch(32.75, 84.12, 308.89°)
OKLaboklab(44.41% 0.0755 -0.188)
OKLCHoklch(44.41% 0.203 291.9)
XYZxyz(13.8223, 7.4214, 45.4947)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BB7 #86B72B
analogous
#2B40B7 #5C2BB7 #A22BB7
triadic
#5C2BB7 #B75C2B #2BB75C
tetradic
#5C2BB7 #B72B40 #86B72B #2BB7A2
square
#5C2BB7 #B72B40 #86B72B #2BB7A2
split-complementary
#5C2BB7 #B7A22B #40B72B
monochromatic
#2A1454 #431F85 #5C2BB7 #7B4BD5 #9F7CE0

Accessibility & contrast

On white

8.45
#5C2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C2BB7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BB7#FFFFFF#000000##FFFFFF
##5C2BB71.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#3E5270
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c2bb7;
/* rgb */ color: rgb(92, 43, 183);
/* oklch */ color: oklch(44.4% 0.203 291.9);
Tailwind
colors: {
  custom: {
    50: '#936ace',
    500: '#5c2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bb7;
$custom-light: #936ace;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bb7",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 261,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.2026,
    "h": 291.9
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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