#5B3CCD#5B3CCD

#5B3CCD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.4% C 0.210 H 285.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5B3CCD
RGBrgb(91, 60, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 71%, 80%)
CMYKcmyk(55.6%, 70.7%, 0%, 19.6%)
CIE-LABlab(37.59, 50.40, -70.42)
CIE-LCHlch(37.59, 86.60, 305.59°)
OKLaboklab(48.41% 0.0553 -0.2026)
OKLCHoklch(48.41% 0.21 285.3)
XYZxyz(16.9464, 9.8627, 58.7565)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3CCD #AECD3C
analogous
#3C65CD #5B3CCD #A43CCD
triadic
#5B3CCD #CD5B3C #3CCD5B
tetradic
#5B3CCD #CD3C65 #AECD3C #3CCDA4
square
#5B3CCD #CD3C65 #AECD3C #3CCDA4
split-complementary
#5B3CCD #CDA43C #65CD3C
monochromatic
#2F1D71 #432AA2 #5B3CCD #846DD9 #AD9DE6

Accessibility & contrast

On white

7.06
#5B3CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5B3CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3CCD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3CCD#FFFFFF#000000##FFFFFF
##5B3CCD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#256380
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5b3ccd;
/* rgb */ color: rgb(91, 60, 205);
/* oklch */ color: oklch(48.4% 0.210 285.3);
Tailwind
colors: {
  custom: {
    50: '#9575dd',
    500: '#5b3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5b3ccd;
$custom-light: #9575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3ccd",
  "rgb": {
    "r": 91,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 252.828,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.21004,
    "h": 285.3
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#5B3CCD
secondary
#C5D293
accent
#E245C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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