#5A33CD#5A33CD

#5A33CD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.219 H 286.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5A33CD
RGBrgb(90, 51, 205)
HSLhsl(255, 61%, 50%)
HSVhsv(255, 75%, 80%)
CMYKcmyk(56.1%, 75.1%, 0%, 19.6%)
CIE-LABlab(35.88, 54.81, -73.23)
CIE-LCHlch(35.88, 91.47, 306.81°)
OKLaboklab(47.18% 0.0607 -0.2108)
OKLCHoklch(47.18% 0.219 286.1)
XYZxyz(16.4164, 8.9482, 58.6079)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A33CD #A6CD33
analogous
#3359CD #5A33CD #A733CD
triadic
#5A33CD #CD5A33 #33CD5A
tetradic
#5A33CD #CD3359 #A6CD33 #33CDA7
square
#5A33CD #CD3359 #A6CD33 #33CDA7
split-complementary
#5A33CD #CDA733 #59CD33
monochromatic
#2F1A6B #44269C #5A33CD #8264D9 #AA95E5

Accessibility & contrast

On white

7.53
#5A33CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5A33CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A33CD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A33CD#FFFFFF#000000##FFFFFF
##5A33CD1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#235E7E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a33cd;
/* rgb */ color: rgb(90, 51, 205);
/* oklch */ color: oklch(47.2% 0.219 286.1);
Tailwind
colors: {
  custom: {
    50: '#956fde',
    500: '#5a33cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a33cd;
$custom-light: #956fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a33cd",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 205
  },
  "hsl": {
    "h": 255.195,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.2194,
    "h": 286.1
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#5A33CD
secondary
#BFD08B
accent
#E444BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5A33CD

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

Preview Lab → · Contrast checker → · Palette generator →

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