#5B2CBC#5B2CBC

#5B2CBC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.207 H 290.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5B2CBC
RGBrgb(91, 44, 188)
HSLhsl(260, 62%, 45%)
HSVhsv(260, 77%, 74%)
CMYKcmyk(51.6%, 76.6%, 0%, 26.3%)
CIE-LABlab(33.26, 53.56, -67.60)
CIE-LCHlch(33.26, 86.25, 308.39°)
OKLaboklab(44.88% 0.0719 -0.1943)
OKLCHoklch(44.88% 0.207 290.3)
XYZxyz(14.2896, 7.6557, 48.2920)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2CBC #8DBC2C
analogous
#2C45BC #5B2CBC #A32CBC
triadic
#5B2CBC #BC5B2C #2CBC5B
tetradic
#5B2CBC #BC2C45 #8DBC2C #2CBCA3
square
#5B2CBC #BC2C45 #8DBC2C #2CBCA3
split-complementary
#5B2CBC #BCA32C #45BC2C
monochromatic
#2B1559 #43208A #5B2CBC #7B4FD6 #A081E1

Accessibility & contrast

On white

8.30
#5B2CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5B2CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2CBC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2CBC#FFFFFF#000000##FFFFFF
##5B2CBC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#385473
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b2cbc;
/* rgb */ color: rgb(91, 44, 188);
/* oklch */ color: oklch(44.9% 0.207 290.3);
Tailwind
colors: {
  custom: {
    50: '#936bd1',
    500: '#5b2cbc',
    950: '#000000',
  },
}
SCSS
$custom: #5b2cbc;
$custom-light: #936bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2cbc",
  "rgb": {
    "r": 91,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 259.583,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.20713,
    "h": 290.3
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#5B2CBC
secondary
#B0CA79
accent
#E543B0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5B2CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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