#5B33BF#5B33BF

#5B33BF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.203 H 288.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5B33BF
RGBrgb(91, 51, 191)
HSLhsl(257, 58%, 47%)
HSVhsv(257, 73%, 75%)
CMYKcmyk(52.4%, 73.3%, 0%, 25.1%)
CIE-LABlab(34.71, 51.03, -66.98)
CIE-LCHlch(34.71, 84.21, 307.30°)
OKLaboklab(45.98% 0.0656 -0.1925)
OKLCHoklch(45.98% 0.203 288.8)
XYZxyz(14.8994, 8.3527, 50.1073)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33BF #97BF33
analogous
#3351BF #5B33BF #A133BF
triadic
#5B33BF #BF5B33 #33BF5B
tetradic
#5B33BF #BF3351 #97BF33 #33BFA1
square
#5B33BF #BF3351 #97BF33 #33BFA1
split-complementary
#5B33BF #BFA133 #51BF33
monochromatic
#2D195E #44268F #5B33BF #7E5CD3 #A48CE0

Accessibility & contrast

On white

7.86
#5B33BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5B33BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33BF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33BF#FFFFFF#000000##FFFFFF
##5B33BF1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#355976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b33bf;
/* rgb */ color: rgb(91, 51, 191);
/* oklch */ color: oklch(46.0% 0.203 288.8);
Tailwind
colors: {
  custom: {
    50: '#936fd3',
    500: '#5b33bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b33bf;
$custom-light: #936fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33bf",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 257.143,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.20338,
    "h": 288.8
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#5B33BF
secondary
#B6CB83
accent
#E147B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5B33BF

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

Preview Lab → · Contrast checker → · Palette generator →

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