#532084#532084

#532084 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.157 H 302.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#532084
RGBrgb(83, 32, 132)
HSLhsl(271, 61%, 32%)
HSVhsv(271, 76%, 52%)
CMYKcmyk(37.1%, 75.8%, 0%, 48.2%)
CIE-LABlab(25.38, 43.02, -46.49)
CIE-LCHlch(25.38, 63.34, 312.78°)
OKLaboklab(37.6% 0.0847 -0.1325)
OKLCHoklch(37.6% 0.157 302.6)
XYZxyz(8.2477, 4.5380, 22.2667)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532084 #518420
analogous
#212084 #532084 #842083
triadic
#532084 #845320 #208453
tetradic
#532084 #842120 #518420 #208384
square
#532084 #842120 #518420 #208384
split-complementary
#532084 #838420 #208421
monochromatic
#150821 #341453 #532084 #722CB5 #914BD3

Accessibility & contrast

On white

11.01
#532084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#532084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532084
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532084#FFFFFF#000000##FFFFFF
##5320841.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#493950
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #532084;
/* rgb */ color: rgb(83, 32, 132);
/* oklch */ color: oklch(37.6% 0.157 302.6);
Tailwind
colors: {
  custom: {
    50: '#8861a9',
    500: '#532084',
    950: '#000000',
  },
}
SCSS
$custom: #532084;
$custom-light: #8861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532084",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 270.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37597,
    "c": 0.15727,
    "h": 302.6
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#532084
secondary
#7FB64A
accent
#E44492
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #532084

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

Preview Lab → · Contrast checker → · Palette generator →

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