#5D2CBF#5D2CBF

#5D2CBF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.210 H 290.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5D2CBF
RGBrgb(93, 44, 191)
HSLhsl(260, 63%, 46%)
HSVhsv(260, 77%, 75%)
CMYKcmyk(51.3%, 77%, 0%, 25.1%)
CIE-LABlab(33.75, 54.65, -68.54)
CIE-LCHlch(33.75, 87.66, 308.56°)
OKLaboklab(45.36% 0.074 -0.197)
OKLCHoklch(45.36% 0.21 290.6)
XYZxyz(14.8162, 7.8895, 50.0223)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CBF #8EBF2C
analogous
#2C44BF #5D2CBF #A62CBF
triadic
#5D2CBF #BF5D2C #2CBF5D
tetradic
#5D2CBF #BF2C44 #8EBF2C #2CBFA6
square
#5D2CBF #BF2C44 #8EBF2C #2CBFA6
split-complementary
#5D2CBF #BFA62C #44BF2C
monochromatic
#2D155C #45218D #5D2CBF #7E51D7 #A383E2

Accessibility & contrast

On white

8.15
#5D2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5D2CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CBF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CBF#FFFFFF#000000##FFFFFF
##5D2CBF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2cbf;
/* rgb */ color: rgb(93, 44, 191);
/* oklch */ color: oklch(45.4% 0.210 290.6);
Tailwind
colors: {
  custom: {
    50: '#956bd3',
    500: '#5d2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cbf;
$custom-light: #956bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cbf",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.21043,
    "h": 290.6
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#5D2CBF
secondary
#B1CC7B
accent
#E642AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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