#5A33C9#5A33C9

#5A33C9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.215 H 286.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5A33C9
RGBrgb(90, 51, 201)
HSLhsl(256, 60%, 49%)
HSVhsv(256, 75%, 79%)
CMYKcmyk(55.2%, 74.6%, 0%, 21.2%)
CIE-LABlab(35.51, 53.69, -71.52)
CIE-LCHlch(35.51, 89.43, 306.90°)
OKLaboklab(46.8% 0.0617 -0.2058)
OKLCHoklch(46.8% 0.215 286.7)
XYZxyz(15.9397, 8.7575, 56.0975)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A33C9 #A2C933
analogous
#3357C9 #5A33C9 #A533C9
triadic
#5A33C9 #C95A33 #33C95A
tetradic
#5A33C9 #C93357 #A2C933 #33C9A5
square
#5A33C9 #C93357 #A2C933 #33C9A5
split-complementary
#5A33C9 #C9A533 #57C933
monochromatic
#2E1A67 #442798 #5A33C9 #8062D7 #A893E4

Accessibility & contrast

On white

7.63
#5A33C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5A33C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A33C9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A33C9#FFFFFF#000000##FFFFFF
##5A33C91.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#285D7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a33c9;
/* rgb */ color: rgb(90, 51, 201);
/* oklch */ color: oklch(46.8% 0.215 286.7);
Tailwind
colors: {
  custom: {
    50: '#946fdb',
    500: '#5a33c9',
    950: '#000000',
  },
}
SCSS
$custom: #5a33c9;
$custom-light: #946fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a33c9",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 255.6,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.21487,
    "h": 286.7
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#5A33C9
secondary
#BDCF89
accent
#E345BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5A33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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