#5D2BBD#5D2BBD

#5D2BBD is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.209 H 291.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5D2BBD
RGBrgb(93, 43, 189)
HSLhsl(261, 63%, 45%)
HSVhsv(261, 77%, 74%)
CMYKcmyk(50.8%, 77.2%, 0%, 25.9%)
CIE-LABlab(33.41, 54.56, -67.93)
CIE-LCHlch(33.41, 87.13, 308.77°)
OKLaboklab(45.07% 0.0754 -0.1951)
OKLCHoklch(45.07% 0.209 291.1)
XYZxyz(14.5608, 7.7284, 48.8588)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BBD #8BBD2B
analogous
#2B42BD #5D2BBD #A62BBD
triadic
#5D2BBD #BD5D2B #2BBD5D
tetradic
#5D2BBD #BD2B42 #8BBD2B #2BBDA6
square
#5D2BBD #BD2B42 #8BBD2B #2BBDA6
split-complementary
#5D2BBD #BDA62B #42BD2B
monochromatic
#2C1459 #44208B #5D2BBD #7D4ED7 #A280E2

Accessibility & contrast

On white

8.25
#5D2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5D2BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BBD
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BBD#FFFFFF#000000##FFFFFF
##5D2BBD1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#3C5473
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d2bbd;
/* rgb */ color: rgb(93, 43, 189);
/* oklch */ color: oklch(45.1% 0.209 291.1);
Tailwind
colors: {
  custom: {
    50: '#956ad2',
    500: '#5d2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bbd;
$custom-light: #956ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bbd",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 260.548,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.2092,
    "h": 291.1
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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