#5324A1#5324A1

#5324A1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.185 H 293.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#5324A1
RGBrgb(83, 36, 161)
HSLhsl(263, 63%, 39%)
HSVhsv(263, 78%, 63%)
CMYKcmyk(48.4%, 77.6%, 0%, 36.9%)
CIE-LABlab(28.57, 48.77, -59.16)
CIE-LCHlch(28.57, 76.67, 309.50°)
OKLaboklab(40.63% 0.0736 -0.1698)
OKLCHoklch(40.63% 0.185 293.4)
XYZxyz(10.6294, 5.6736, 34.2464)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5324A1 #72A124
analogous
#2433A1 #5324A1 #9124A1
triadic
#5324A1 #A15324 #24A153
tetradic
#5324A1 #A12433 #72A124 #24A191
square
#5324A1 #A12433 #72A124 #24A191
split-complementary
#5324A1 #A19124 #33A124
monochromatic
#1F0E3D #39196F #5324A1 #6D31D1 #9163DC

Accessibility & contrast

On white

9.84
#5324A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5324A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5324A1
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5324A1#FFFFFF#000000##FFFFFF
##5324A11.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#3B4762
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5324a1;
/* rgb */ color: rgb(83, 36, 161);
/* oklch */ color: oklch(40.6% 0.185 293.4);
Tailwind
colors: {
  custom: {
    50: '#8b64be',
    500: '#5324a1',
    950: '#000000',
  },
}
SCSS
$custom: #5324a1;
$custom-light: #8b64be;
$custom-dark: #000000;
JSON
{
  "hex": "#5324a1",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 262.56,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40632,
    "c": 0.18502,
    "h": 293.4
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#5324A1
secondary
#9DC25F
accent
#E641A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5324A1

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

Preview Lab → · Contrast checker → · Palette generator →

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