#5B33AE#5B33AE

#5B33AE is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.184 H 292.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5B33AE
RGBrgb(91, 51, 174)
HSLhsl(260, 55%, 44%)
HSVhsv(260, 71%, 68%)
CMYKcmyk(47.7%, 70.7%, 0%, 31.8%)
CIE-LABlab(33.24, 46.28, -59.32)
CIE-LCHlch(33.24, 75.24, 307.96°)
OKLaboklab(44.49% 0.0692 -0.17)
OKLCHoklch(44.49% 0.184 292.2)
XYZxyz(13.1361, 7.6473, 40.8201)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33AE #86AE33
analogous
#3349AE #5B33AE #9933AE
triadic
#5B33AE #AE5B33 #33AE5B
tetradic
#5B33AE #AE3349 #86AE33 #33AE99
square
#5B33AE #AE3349 #86AE33 #33AE99
split-complementary
#5B33AE #AE9933 #49AE33
monochromatic
#29174F #42257F #5B33AE #7A52CC #9E81DA

Accessibility & contrast

On white

8.30
#5B33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5B33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33AE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33AE#FFFFFF#000000##FFFFFF
##5B33AE1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#41526D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b33ae;
/* rgb */ color: rgb(91, 51, 174);
/* oklch */ color: oklch(44.5% 0.184 292.2);
Tailwind
colors: {
  custom: {
    50: '#916ec7',
    500: '#5b33ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b33ae;
$custom-light: #916ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33ae",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 259.512,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.18358,
    "h": 292.2
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#5B33AE
secondary
#ABC379
accent
#DE4AAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5B33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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