#5332C6#5332C6

#5332C6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.213 H 284.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5332C6
RGBrgb(83, 50, 198)
HSLhsl(253, 60%, 49%)
HSVhsv(253, 75%, 78%)
CMYKcmyk(58.1%, 74.7%, 0%, 22.4%)
CIE-LABlab(34.39, 52.39, -71.64)
CIE-LCHlch(34.39, 88.75, 306.18°)
OKLaboklab(45.76% 0.053 -0.2064)
OKLCHoklch(45.76% 0.213 284.4)
XYZxyz(14.8978, 8.1965, 54.2122)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332C6 #A5C632
analogous
#325BC6 #5332C6 #9D32C6
triadic
#5332C6 #C65332 #32C653
tetradic
#5332C6 #C6325B #A5C632 #32C69D
square
#5332C6 #C6325B #A5C632 #32C69D
split-complementary
#5332C6 #C69D32 #5BC632
monochromatic
#2A1964 #3F2695 #5332C6 #795FD7 #A290E3

Accessibility & contrast

On white

7.96
#5332C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5332C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332C6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332C6#FFFFFF#000000##FFFFFF
##5332C61.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#105C7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5332c6;
/* rgb */ color: rgb(83, 50, 198);
/* oklch */ color: oklch(45.8% 0.213 284.4);
Tailwind
colors: {
  custom: {
    50: '#906ed9',
    500: '#5332c6',
    950: '#000000',
  },
}
SCSS
$custom: #5332c6;
$custom-light: #906ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5332c6",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 253.378,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.21309,
    "h": 284.4
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#5332C6
secondary
#BECD86
accent
#E345C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5332C6

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

Preview Lab → · Contrast checker → · Palette generator →

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