#5320A1#5320A1

#5320A1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.189 H 294.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#5320A1
RGBrgb(83, 32, 161)
HSLhsl(264, 67%, 38%)
HSVhsv(264, 80%, 63%)
CMYKcmyk(48.4%, 80.1%, 0%, 36.9%)
CIE-LABlab(27.97, 50.52, -60.16)
CIE-LCHlch(27.97, 78.56, 310.02°)
OKLaboklab(40.21% 0.0767 -0.1726)
OKLCHoklch(40.21% 0.189 294)
XYZxyz(10.5150, 5.4449, 34.2083)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5320A1 #6EA120
analogous
#202DA1 #5320A1 #9320A1
triadic
#5320A1 #A15320 #20A153
tetradic
#5320A1 #A1202D #6EA120 #20A193
square
#5320A1 #A1202D #6EA120 #20A193
split-complementary
#5320A1 #A19320 #2DA120
monochromatic
#1E0C3B #39166E #5320A1 #6D2AD4 #905DDF

Accessibility & contrast

On white

10.05
#5320A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5320A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5320A1
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5320A1#FFFFFF#000000##FFFFFF
##5320A11.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#3B4561
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5320a1;
/* rgb */ color: rgb(83, 32, 161);
/* oklch */ color: oklch(40.2% 0.189 294.0);
Tailwind
colors: {
  custom: {
    50: '#8c62be',
    500: '#5320a1',
    950: '#000000',
  },
}
SCSS
$custom: #5320a1;
$custom-light: #8c62be;
$custom-dark: #000000;
JSON
{
  "hex": "#5320a1",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 263.721,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.1889,
    "h": 294
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#5320A1
secondary
#99C35A
accent
#EA3EA6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #5320A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5320A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva