#5B3FD0#5B3FD0

#5B3FD0 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.210 H 284.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5B3FD0
RGBrgb(91, 63, 208)
HSLhsl(252, 61%, 53%)
HSVhsv(252, 70%, 82%)
CMYKcmyk(56.2%, 69.7%, 0%, 18.4%)
CIE-LABlab(38.43, 49.68, -70.79)
CIE-LCHlch(38.43, 86.48, 305.06°)
OKLaboklab(49.08% 0.0523 -0.2037)
OKLCHoklch(49.08% 0.21 284.4)
XYZxyz(17.4736, 10.3322, 60.7358)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3FD0 #B4D03F
analogous
#3F6BD0 #5B3FD0 #A33FD0
triadic
#5B3FD0 #D05B3F #3FD05B
tetradic
#5B3FD0 #D03F6B #B4D03F #3FD0A3
square
#5B3FD0 #D03F6B #B4D03F #3FD0A3
split-complementary
#5B3FD0 #D0A33F #6BD03F
monochromatic
#2F1D77 #4229A9 #5B3FD0 #8570DC #AFA1E8

Accessibility & contrast

On white

6.85
#5B3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5B3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3FD0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3FD0#FFFFFF#000000##FFFFFF
##5B3FD01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#206583
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b3fd0;
/* rgb */ color: rgb(91, 63, 208);
/* oklch */ color: oklch(49.1% 0.210 284.4);
Tailwind
colors: {
  custom: {
    50: '#9576e0',
    500: '#5b3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #5b3fd0;
$custom-light: #9576e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3fd0",
  "rgb": {
    "r": 91,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 251.586,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.21031,
    "h": 284.4
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#5B3FD0
secondary
#C9D596
accent
#E444C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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