#5D2BBF#5D2BBF

#5D2BBF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.211 H 290.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5D2BBF
RGBrgb(93, 43, 191)
HSLhsl(260, 63%, 46%)
HSVhsv(260, 77%, 75%)
CMYKcmyk(51.3%, 77.5%, 0%, 25.1%)
CIE-LABlab(33.60, 55.09, -68.80)
CIE-LCHlch(33.60, 88.14, 308.69°)
OKLaboklab(45.25% 0.0748 -0.1977)
OKLCHoklch(45.25% 0.211 290.7)
XYZxyz(14.7794, 7.8159, 50.0100)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BBF #8DBF2B
analogous
#2B43BF #5D2BBF #A72BBF
triadic
#5D2BBF #BF5D2B #2BBF5D
tetradic
#5D2BBF #BF2B43 #8DBF2B #2BBFA7
square
#5D2BBF #BF2B43 #8DBF2B #2BBFA7
split-complementary
#5D2BBF #BFA72B #43BF2B
monochromatic
#2C155B #45208D #5D2BBF #7E50D8 #A282E3

Accessibility & contrast

On white

8.19
#5D2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5D2BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BBF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BBF#FFFFFF#000000##FFFFFF
##5D2BBF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#3A5574
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d2bbf;
/* rgb */ color: rgb(93, 43, 191);
/* oklch */ color: oklch(45.3% 0.211 290.7);
Tailwind
colors: {
  custom: {
    50: '#956ad4',
    500: '#5d2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bbf;
$custom-light: #956ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bbf",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 260.27,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.21137,
    "h": 290.7
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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