#532571#532571

#532571 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.129 H 309.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#532571
RGBrgb(83, 37, 113)
HSLhsl(276, 51%, 29%)
HSVhsv(276, 67%, 44%)
CMYKcmyk(26.5%, 67.3%, 0%, 55.7%)
CIE-LABlab(24.81, 35.74, -35.35)
CIE-LCHlch(24.81, 50.27, 315.31°)
OKLaboklab(36.73% 0.0817 -0.0998)
OKLCHoklch(36.73% 0.129 309.3)
XYZxyz(7.2089, 4.3545, 16.0803)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532571 #437125
analogous
#2D2571 #532571 #712569
triadic
#532571 #715325 #257153
tetradic
#532571 #712D25 #437125 #256971
square
#532571 #712D25 #437125 #256971
split-complementary
#532571 #697125 #25712D
monochromatic
#110817 #311643 #532571 #75349F #954CC4

Accessibility & contrast

On white

11.23
#532571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#532571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532571
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532571#FFFFFF#000000##FFFFFF
##5325711.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#1A3C6F
Tritanopia (blue-blind)
#4F3447
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #532571;
/* rgb */ color: rgb(83, 37, 113);
/* oklch */ color: oklch(36.7% 0.129 309.3);
Tailwind
colors: {
  custom: {
    50: '#86639a',
    500: '#532571',
    950: '#000000',
  },
}
SCSS
$custom: #532571;
$custom-light: #86639a;
$custom-dark: #000000;
JSON
{
  "hex": "#532571",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 276.316,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.12897,
    "h": 309.3
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#532571
secondary
#70A44E
accent
#DA4E85
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #532571

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

Preview Lab → · Contrast checker → · Palette generator →

#532571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva