#5332C5#5332C5

#5332C5 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.212 H 284.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5332C5
RGBrgb(83, 50, 197)
HSLhsl(253, 60%, 48%)
HSVhsv(253, 75%, 77%)
CMYKcmyk(57.9%, 74.6%, 0%, 22.7%)
CIE-LABlab(34.29, 52.10, -71.21)
CIE-LCHlch(34.29, 88.24, 306.19°)
OKLaboklab(45.67% 0.0533 -0.2051)
OKLCHoklch(45.67% 0.212 284.6)
XYZxyz(14.7828, 8.1505, 53.6067)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332C5 #A4C532
analogous
#325BC5 #5332C5 #9C32C5
triadic
#5332C5 #C55332 #32C553
tetradic
#5332C5 #C5325B #A4C532 #32C59C
square
#5332C5 #C5325B #A4C532 #32C59C
split-complementary
#5332C5 #C59C32 #5BC532
monochromatic
#2A1963 #3E2694 #5332C5 #795ED6 #A28FE3

Accessibility & contrast

On white

7.98
#5332C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5332C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332C5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332C5#FFFFFF#000000##FFFFFF
##5332C51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#135B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5332c5;
/* rgb */ color: rgb(83, 50, 197);
/* oklch */ color: oklch(45.7% 0.212 284.6);
Tailwind
colors: {
  custom: {
    50: '#906ed8',
    500: '#5332c5',
    950: '#000000',
  },
}
SCSS
$custom: #5332c5;
$custom-light: #906ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#5332c5",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 253.469,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.21194,
    "h": 284.6
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#5332C5
secondary
#BDCD86
accent
#E345BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5332C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5332C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva