#5B3DCE#5B3DCE

#5B3DCE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.210 H 285.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5B3DCE
RGBrgb(91, 61, 206)
HSLhsl(252, 60%, 52%)
HSVhsv(252, 70%, 81%)
CMYKcmyk(55.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(37.87, 50.17, -70.55)
CIE-LCHlch(37.87, 86.56, 305.42°)
OKLaboklab(48.63% 0.0543 -0.203)
OKLCHoklch(48.63% 0.21 285)
XYZxyz(17.1203, 10.0169, 59.4119)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3DCE #B0CE3D
analogous
#3D67CE #5B3DCE #A43DCE
triadic
#5B3DCE #CE5B3D #3DCE5B
tetradic
#5B3DCE #CE3D67 #B0CE3D #3DCEA4
square
#5B3DCE #CE3D67 #B0CE3D #3DCEA4
split-complementary
#5B3DCE #CEA43D #67CE3D
monochromatic
#2F1D73 #4329A4 #5B3DCE #846EDA #AE9FE7

Accessibility & contrast

On white

6.99
#5B3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5B3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3DCE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3DCE#FFFFFF#000000##FFFFFF
##5B3DCE1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#246481
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b3dce;
/* rgb */ color: rgb(91, 61, 206);
/* oklch */ color: oklch(48.6% 0.210 285.0);
Tailwind
colors: {
  custom: {
    50: '#9575de',
    500: '#5b3dce',
    950: '#000000',
  },
}
SCSS
$custom: #5b3dce;
$custom-light: #9575de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3dce",
  "rgb": {
    "r": 91,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 252.414,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.21013,
    "h": 285
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#5B3DCE
secondary
#C6D394
accent
#E345C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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