#5B3FDD#5B3FDD

#5B3FDD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.226 H 282.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5B3FDD
RGBrgb(91, 63, 221)
HSLhsl(251, 70%, 56%)
HSVhsv(251, 71%, 87%)
CMYKcmyk(58.8%, 71.5%, 0%, 13.3%)
CIE-LABlab(39.58, 53.51, -76.38)
CIE-LCHlch(39.58, 93.26, 305.01°)
OKLaboklab(50.25% 0.0498 -0.2201)
OKLCHoklch(50.25% 0.226 282.7)
XYZxyz(19.1390, 10.9983, 69.5070)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3FDD #C1DD3F
analogous
#3F72DD #5B3FDD #AA3FDD
triadic
#5B3FDD #DD5B3F #3FDD5B
tetradic
#5B3FDD #DD3F72 #C1DD3F #3FDDAA
square
#5B3FDD #DD3F72 #C1DD3F #3FDDAA
split-complementary
#5B3FDD #DDAA3F #72DD3F
monochromatic
#2C1889 #3D22BD #5B3FDD #8773E6 #B4A7EF

Accessibility & contrast

On white

6.56
#5B3FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5B3FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3FDD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3FDD#FFFFFF#000000##FFFFFF
##5B3FDD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b3fdd;
/* rgb */ color: rgb(91, 63, 221);
/* oklch */ color: oklch(50.2% 0.226 282.7);
Tailwind
colors: {
  custom: {
    50: '#9777e9',
    500: '#5b3fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5b3fdd;
$custom-light: #9777e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3fdd",
  "rgb": {
    "r": 91,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 250.633,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.22566,
    "h": 282.7
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#5B3FDD
secondary
#D1DD9B
accent
#ED3BCD
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B3FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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