#5B33BE#5B33BE

#5B33BE is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.202 H 289.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5B33BE
RGBrgb(91, 51, 190)
HSLhsl(257, 58%, 47%)
HSVhsv(257, 73%, 75%)
CMYKcmyk(52.1%, 73.2%, 0%, 25.5%)
CIE-LABlab(34.62, 50.75, -66.54)
CIE-LCHlch(34.62, 83.69, 307.33°)
OKLaboklab(45.89% 0.0658 -0.1912)
OKLCHoklch(45.89% 0.202 289)
XYZxyz(14.7898, 8.3088, 49.5297)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33BE #96BE33
analogous
#3351BE #5B33BE #A033BE
triadic
#5B33BE #BE5B33 #33BE5B
tetradic
#5B33BE #BE3351 #96BE33 #33BEA0
square
#5B33BE #BE3351 #96BE33 #33BEA0
split-complementary
#5B33BE #BEA033 #51BE33
monochromatic
#2D195E #44268E #5B33BE #7E5BD3 #A48BE0

Accessibility & contrast

On white

7.89
#5B33BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5B33BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33BE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33BE#FFFFFF#000000##FFFFFF
##5B33BE1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#365876
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b33be;
/* rgb */ color: rgb(91, 51, 190);
/* oklch */ color: oklch(45.9% 0.202 289.0);
Tailwind
colors: {
  custom: {
    50: '#936fd3',
    500: '#5b33be',
    950: '#000000',
  },
}
SCSS
$custom: #5b33be;
$custom-light: #936fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33be",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 257.266,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.20224,
    "h": 289
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B33BE

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

Preview Lab → · Contrast checker → · Palette generator →

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