#5C2BBD#5C2BBD

#5C2BBD is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.209 H 290.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5C2BBD
RGBrgb(92, 43, 189)
HSLhsl(260, 63%, 45%)
HSVhsv(260, 77%, 74%)
CMYKcmyk(51.3%, 77.2%, 0%, 25.9%)
CIE-LABlab(33.30, 54.42, -68.11)
CIE-LCHlch(33.30, 87.18, 308.62°)
OKLaboklab(44.96% 0.0739 -0.1957)
OKLCHoklch(44.96% 0.209 290.7)
XYZxyz(14.4602, 7.6766, 48.8541)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2BBD #8CBD2B
analogous
#2B43BD #5C2BBD #A52BBD
triadic
#5C2BBD #BD5C2B #2BBD5C
tetradic
#5C2BBD #BD2B43 #8CBD2B #2BBDA5
square
#5C2BBD #BD2B43 #8CBD2B #2BBDA5
split-complementary
#5C2BBD #BDA52B #43BD2B
monochromatic
#2B1459 #44208B #5C2BBD #7C4ED7 #A180E2

Accessibility & contrast

On white

8.28
#5C2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5C2BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2BBD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2BBD#FFFFFF#000000##FFFFFF
##5C2BBD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#395473
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c2bbd;
/* rgb */ color: rgb(92, 43, 189);
/* oklch */ color: oklch(45.0% 0.209 290.7);
Tailwind
colors: {
  custom: {
    50: '#946ad2',
    500: '#5c2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5c2bbd;
$custom-light: #946ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2bbd",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 260.137,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.20919,
    "h": 290.7
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#5C2BBD
secondary
#AFCB79
accent
#E642AF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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