#5933B2#5933B2

#5933B2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.188 H 290.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5933B2
RGBrgb(89, 51, 178)
HSLhsl(258, 55%, 45%)
HSVhsv(258, 71%, 70%)
CMYKcmyk(50%, 71.3%, 0%, 30.2%)
CIE-LABlab(33.36, 47.06, -61.51)
CIE-LCHlch(33.36, 77.45, 307.42°)
OKLaboklab(44.63% 0.0655 -0.1765)
OKLCHoklch(44.63% 0.188 290.4)
XYZxyz(13.3372, 7.7053, 42.8954)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933B2 #8CB233
analogous
#334CB2 #5933B2 #9933B2
triadic
#5933B2 #B25933 #33B259
tetradic
#5933B2 #B2334C #8CB233 #33B299
square
#5933B2 #B2334C #8CB233 #33B299
split-complementary
#5933B2 #B29933 #4CB233
monochromatic
#291853 #412582 #5933B2 #7954CE #9E84DC

Accessibility & contrast

On white

8.26
#5933B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5933B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933B2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933B2#FFFFFF#000000##FFFFFF
##5933B21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#3B546F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5933b2;
/* rgb */ color: rgb(89, 51, 178);
/* oklch */ color: oklch(44.6% 0.188 290.4);
Tailwind
colors: {
  custom: {
    50: '#906eca',
    500: '#5933b2',
    950: '#000000',
  },
}
SCSS
$custom: #5933b2;
$custom-light: #906eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5933b2",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 257.953,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.18829,
    "h": 290.4
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#5933B2
secondary
#AFC57C
accent
#DF49B2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5933B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5933B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva