#5933B5#5933B5

#5933B5 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.192 H 289.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5933B5
RGBrgb(89, 51, 181)
HSLhsl(258, 56%, 45%)
HSVhsv(258, 72%, 71%)
CMYKcmyk(50.8%, 71.8%, 0%, 29%)
CIE-LABlab(33.62, 47.91, -62.87)
CIE-LCHlch(33.62, 79.04, 307.31°)
OKLaboklab(44.89% 0.0649 -0.1805)
OKLCHoklch(44.89% 0.192 289.8)
XYZxyz(13.6417, 7.8271, 44.4991)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933B5 #8FB533
analogous
#334EB5 #5933B5 #9A33B5
triadic
#5933B5 #B55933 #33B559
tetradic
#5933B5 #B5334E #8FB533 #33B59A
square
#5933B5 #B5334E #8FB533 #33B59A
split-complementary
#5933B5 #B59A33 #4EB533
monochromatic
#2A1856 #422685 #5933B5 #7956CF #9F86DD

Accessibility & contrast

On white

8.19
#5933B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5933B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933B5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933B5#FFFFFF#000000##FFFFFF
##5933B51.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#395571
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5933b5;
/* rgb */ color: rgb(89, 51, 181);
/* oklch */ color: oklch(44.9% 0.192 289.8);
Tailwind
colors: {
  custom: {
    50: '#916ecc',
    500: '#5933b5',
    950: '#000000',
  },
}
SCSS
$custom: #5933b5;
$custom-light: #916ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#5933b5",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 257.538,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.19183,
    "h": 289.8
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#5933B5
secondary
#B1C67D
accent
#DF48B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5933B5

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

Preview Lab → · Contrast checker → · Palette generator →

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