#5B33AC#5B33AC

#5B33AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.181 H 292.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5B33AC
RGBrgb(91, 51, 172)
HSLhsl(260, 54%, 44%)
HSVhsv(260, 70%, 67%)
CMYKcmyk(47.1%, 70.3%, 0%, 32.5%)
CIE-LABlab(33.07, 45.72, -58.40)
CIE-LCHlch(33.07, 74.17, 308.06°)
OKLaboklab(44.32% 0.0696 -0.1673)
OKLCHoklch(44.32% 0.181 292.6)
XYZxyz(12.9425, 7.5699, 39.8009)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B33AC #84AC33
analogous
#3347AC #5B33AC #9733AC
triadic
#5B33AC #AC5B33 #33AC5B
tetradic
#5B33AC #AC3347 #84AC33 #33AC97
square
#5B33AC #AC3347 #84AC33 #33AC97
split-complementary
#5B33AC #AC9733 #47AC33
monochromatic
#29174E #42257D #5B33AC #7951CB #9E80D9

Accessibility & contrast

On white

8.35
#5B33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5B33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B33AC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B33AC#FFFFFF#000000##FFFFFF
##5B33AC1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#42526C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b33ac;
/* rgb */ color: rgb(91, 51, 172);
/* oklch */ color: oklch(44.3% 0.181 292.6);
Tailwind
colors: {
  custom: {
    50: '#916ec6',
    500: '#5b33ac',
    950: '#000000',
  },
}
SCSS
$custom: #5b33ac;
$custom-light: #916ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b33ac",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 259.835,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.18122,
    "h": 292.6
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#5B33AC
secondary
#AAC278
accent
#DE4AAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5B33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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