#5B33CD#5B33CD

#5B33CD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.219 H 286.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5B33CD
RGBrgb(91, 51, 205)
HSLhsl(256, 61%, 50%)
HSVhsv(256, 75%, 80%)
CMYKcmyk(55.6%, 75.1%, 0%, 19.6%)
CIE-LABlab(35.98, 54.95, -73.07)
CIE-LCHlch(35.98, 91.42, 306.94°)
OKLaboklab(47.27% 0.0622 -0.2103)
OKLCHoklch(47.27% 0.219 286.5)
XYZxyz(16.5144, 8.9987, 58.6125)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33CD #A5CD33
analogous
#3358CD #5B33CD #A833CD
triadic
#5B33CD #CD5B33 #33CD5B
tetradic
#5B33CD #CD3358 #A5CD33 #33CDA8
square
#5B33CD #CD3358 #A5CD33 #33CDA8
split-complementary
#5B33CD #CDA833 #58CD33
monochromatic
#2F1A6B #45269C #5B33CD #8364D9 #AA95E5

Accessibility & contrast

On white

7.50
#5B33CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5B33CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33CD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33CD#FFFFFF#000000##FFFFFF
##5B33CD1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#265E7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b33cd;
/* rgb */ color: rgb(91, 51, 205);
/* oklch */ color: oklch(47.3% 0.219 286.5);
Tailwind
colors: {
  custom: {
    50: '#956fde',
    500: '#5b33cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b33cd;
$custom-light: #956fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33cd",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 205
  },
  "hsl": {
    "h": 255.584,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.21932,
    "h": 286.5
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#5B33CD
secondary
#BED08B
accent
#E444BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B33CD

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

Preview Lab → · Contrast checker → · Palette generator →

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