#5B33CE#5B33CE

#5B33CE is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.220 H 286.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5B33CE
RGBrgb(91, 51, 206)
HSLhsl(255, 61%, 50%)
HSVhsv(255, 75%, 81%)
CMYKcmyk(55.8%, 75.2%, 0%, 19.2%)
CIE-LABlab(36.07, 55.22, -73.50)
CIE-LCHlch(36.07, 91.93, 306.92°)
OKLaboklab(47.36% 0.0619 -0.2116)
OKLCHoklch(47.36% 0.22 286.3)
XYZxyz(16.6354, 9.0471, 59.2502)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33CE #A6CE33
analogous
#3358CE #5B33CE #A933CE
triadic
#5B33CE #CE5B33 #33CE5B
tetradic
#5B33CE #CE3358 #A6CE33 #33CEA9
square
#5B33CE #CE3358 #A6CE33 #33CEA9
split-complementary
#5B33CE #CEA933 #58CE33
monochromatic
#2F1A6D #45269E #5B33CE #8364DA #AA96E6

Accessibility & contrast

On white

7.47
#5B33CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5B33CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33CE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33CE#FFFFFF#000000##FFFFFF
##5B33CE1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#255F7F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b33ce;
/* rgb */ color: rgb(91, 51, 206);
/* oklch */ color: oklch(47.4% 0.220 286.3);
Tailwind
colors: {
  custom: {
    50: '#966fde',
    500: '#5b33ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b33ce;
$custom-light: #966fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33ce",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 206
  },
  "hsl": {
    "h": 255.484,
    "s": 61.265,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4736,
    "c": 0.22045,
    "h": 286.3
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#5B33CE
secondary
#BFD18C
accent
#E443BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B33CE

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

Preview Lab → · Contrast checker → · Palette generator →

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