#5B33C8#5B33C8

#5B33C8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.214 H 287.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5B33C8
RGBrgb(91, 51, 200)
HSLhsl(256, 59%, 49%)
HSVhsv(256, 75%, 78%)
CMYKcmyk(54.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(35.52, 53.55, -70.92)
CIE-LCHlch(35.52, 88.87, 307.06°)
OKLaboklab(46.8% 0.0634 -0.204)
OKLCHoklch(46.8% 0.214 287.3)
XYZxyz(15.9204, 8.7611, 55.4846)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33C8 #A0C833
analogous
#3356C8 #5B33C8 #A633C8
triadic
#5B33C8 #C85B33 #33C85B
tetradic
#5B33C8 #C83356 #A0C833 #33C8A6
square
#5B33C8 #C83356 #A0C833 #33C8A6
split-complementary
#5B33C8 #C8A633 #56C833
monochromatic
#2F1A66 #452797 #5B33C8 #8161D7 #A892E3

Accessibility & contrast

On white

7.63
#5B33C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5B33C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33C8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33C8#FFFFFF#000000##FFFFFF
##5B33C81.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#2C5C7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b33c8;
/* rgb */ color: rgb(91, 51, 200);
/* oklch */ color: oklch(46.8% 0.214 287.3);
Tailwind
colors: {
  custom: {
    50: '#956fda',
    500: '#5b33c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b33c8;
$custom-light: #956fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33c8",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 256.107,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.21367,
    "h": 287.3
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#5B33C8
secondary
#BBCE89
accent
#E345B8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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