#5A33C4#5A33C4

#5A33C4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.209 H 287.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5A33C4
RGBrgb(90, 51, 196)
HSLhsl(256, 59%, 48%)
HSVhsv(256, 74%, 77%)
CMYKcmyk(54.1%, 74%, 0%, 23.1%)
CIE-LABlab(35.06, 52.29, -69.35)
CIE-LCHlch(35.06, 86.85, 307.01°)
OKLaboklab(46.34% 0.063 -0.1995)
OKLCHoklch(46.34% 0.209 287.5)
XYZxyz(15.3611, 8.5260, 53.0501)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A33C4 #9DC433
analogous
#3354C4 #5A33C4 #A233C4
triadic
#5A33C4 #C45A33 #33C45A
tetradic
#5A33C4 #C43354 #9DC433 #33C4A2
square
#5A33C4 #C43354 #9DC433 #33C4A2
split-complementary
#5A33C4 #C4A233 #54C433
monochromatic
#2D1A63 #442693 #5A33C4 #7F5FD5 #A68FE2

Accessibility & contrast

On white

7.76
#5A33C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5A33C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A33C4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A33C4#FFFFFF#000000##FFFFFF
##5A33C41.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#2E5B79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5a33c4;
/* rgb */ color: rgb(90, 51, 196);
/* oklch */ color: oklch(46.3% 0.209 287.5);
Tailwind
colors: {
  custom: {
    50: '#946fd7',
    500: '#5a33c4',
    950: '#000000',
  },
}
SCSS
$custom: #5a33c4;
$custom-light: #946fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a33c4",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 256.138,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4634,
    "c": 0.20917,
    "h": 287.5
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#5A33C4
secondary
#BACD86
accent
#E246B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5A33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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