#5A33BD#5A33BD

#5A33BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.201 H 288.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5A33BD
RGBrgb(90, 51, 189)
HSLhsl(257, 58%, 47%)
HSVhsv(257, 73%, 74%)
CMYKcmyk(52.4%, 73%, 0%, 25.9%)
CIE-LABlab(34.43, 50.32, -66.27)
CIE-LCHlch(34.43, 83.21, 307.21°)
OKLaboklab(45.7% 0.0646 -0.1905)
OKLCHoklch(45.7% 0.201 288.7)
XYZxyz(14.5829, 8.2148, 48.9515)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A33BD #96BD33
analogous
#3351BD #5A33BD #9F33BD
triadic
#5A33BD #BD5A33 #33BD5A
tetradic
#5A33BD #BD3351 #96BD33 #33BD9F
square
#5A33BD #BD3351 #96BD33 #33BD9F
split-complementary
#5A33BD #BD9F33 #51BD33
monochromatic
#2C195D #43268D #5A33BD #7D5BD3 #A38BE0

Accessibility & contrast

On white

7.95
#5A33BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5A33BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A33BD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A33BD#FFFFFF#000000##FFFFFF
##5A33BD1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#345875
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a33bd;
/* rgb */ color: rgb(90, 51, 189);
/* oklch */ color: oklch(45.7% 0.201 288.7);
Tailwind
colors: {
  custom: {
    50: '#926fd2',
    500: '#5a33bd',
    950: '#000000',
  },
}
SCSS
$custom: #5a33bd;
$custom-light: #926fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a33bd",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 256.957,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.20112,
    "h": 288.7
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#5A33BD
secondary
#B5CA82
accent
#E147B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5A33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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