#5332AA#5332AA

#5332AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.180 H 289.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5332AA
RGBrgb(83, 50, 170)
HSLhsl(257, 55%, 43%)
HSVhsv(257, 71%, 67%)
CMYKcmyk(51.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(31.86, 44.28, -59.22)
CIE-LCHlch(31.86, 73.94, 306.79°)
OKLaboklab(43.2% 0.0593 -0.17)
OKLCHoklch(43.2% 0.18 289.2)
XYZxyz(11.9615, 7.0220, 38.7475)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332AA #89AA32
analogous
#324DAA #5332AA #8F32AA
triadic
#5332AA #AA5332 #32AA53
tetradic
#5332AA #AA324D #89AA32 #32AA8F
square
#5332AA #AA324D #89AA32 #32AA8F
split-complementary
#5332AA #AA8F32 #4DAA32
monochromatic
#25164B #3C247B #5332AA #714ECB #977DD9

Accessibility & contrast

On white

8.73
#5332AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5332AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5332AA#FFFFFF#000000##FFFFFF
##5332AA1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#34516A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5332aa;
/* rgb */ color: rgb(83, 50, 170);
/* oklch */ color: oklch(43.2% 0.180 289.2);
Tailwind
colors: {
  custom: {
    50: '#8c6dc4',
    500: '#5332aa',
    950: '#000000',
  },
}
SCSS
$custom: #5332aa;
$custom-light: #8c6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5332aa",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 256.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43198,
    "c": 0.18002,
    "h": 289.2
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#5332AA
secondary
#ADC276
accent
#DE4AB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5332AA

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

Preview Lab → · Contrast checker → · Palette generator →

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