#5B33BC#5B33BC

#5B33BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.200 H 289.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5B33BC
RGBrgb(91, 51, 188)
HSLhsl(258, 57%, 47%)
HSVhsv(258, 73%, 74%)
CMYKcmyk(51.6%, 72.9%, 0%, 26.3%)
CIE-LABlab(34.44, 50.19, -65.65)
CIE-LCHlch(34.44, 82.64, 307.40°)
OKLaboklab(45.71% 0.0663 -0.1886)
OKLCHoklch(45.71% 0.2 289.4)
XYZxyz(14.5727, 8.2220, 48.3864)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33BC #94BC33
analogous
#3350BC #5B33BC #A033BC
triadic
#5B33BC #BC5B33 #33BC5B
tetradic
#5B33BC #BC3350 #94BC33 #33BCA0
square
#5B33BC #BC3350 #94BC33 #33BCA0
split-complementary
#5B33BC #BCA033 #50BC33
monochromatic
#2C195C #44268C #5B33BC #7D5AD2 #A38ADF

Accessibility & contrast

On white

7.94
#5B33BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5B33BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33BC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33BC#FFFFFF#000000##FFFFFF
##5B33BC1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#385874
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b33bc;
/* rgb */ color: rgb(91, 51, 188);
/* oklch */ color: oklch(45.7% 0.200 289.4);
Tailwind
colors: {
  custom: {
    50: '#936fd1',
    500: '#5b33bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b33bc;
$custom-light: #936fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33bc",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 257.518,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.19992,
    "h": 289.4
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#5B33BC
secondary
#B4C981
accent
#E147B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5B33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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