#5933BA#5933BA

#5933BA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.198 H 288.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5933BA
RGBrgb(89, 51, 186)
HSLhsl(257, 57%, 46%)
HSVhsv(257, 73%, 73%)
CMYKcmyk(52.2%, 72.6%, 0%, 27.1%)
CIE-LABlab(34.06, 49.32, -65.11)
CIE-LCHlch(34.06, 81.68, 307.14°)
OKLaboklab(45.34% 0.0638 -0.1871)
OKLCHoklch(45.34% 0.198 288.8)
XYZxyz(14.1640, 8.0360, 47.2496)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933BA #94BA33
analogous
#3351BA #5933BA #9D33BA
triadic
#5933BA #BA5933 #33BA59
tetradic
#5933BA #BA3351 #94BA33 #33BA9D
square
#5933BA #BA3351 #94BA33 #33BA9D
split-complementary
#5933BA #BA9D33 #51BA33
monochromatic
#2B195A #42268A #5933BA #7B59D1 #A189DF

Accessibility & contrast

On white

8.05
#5933BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5933BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933BA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933BA#FFFFFF#000000##FFFFFF
##5933BA1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#355773
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5933ba;
/* rgb */ color: rgb(89, 51, 186);
/* oklch */ color: oklch(45.3% 0.198 288.8);
Tailwind
colors: {
  custom: {
    50: '#916ed0',
    500: '#5933ba',
    950: '#000000',
  },
}
SCSS
$custom: #5933ba;
$custom-light: #916ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5933ba",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 256.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45337,
    "c": 0.19768,
    "h": 288.8
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#5933BA
secondary
#B4C980
accent
#E048B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5933BA

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

Preview Lab → · Contrast checker → · Palette generator →

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