#532182#532182

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

Color values

HEX#532182
RGBrgb(83, 33, 130)
HSLhsl(271, 60%, 32%)
HSVhsv(271, 75%, 51%)
CMYKcmyk(36.2%, 74.6%, 0%, 49%)
CIE-LABlab(25.38, 42.04, -45.24)
CIE-LCHlch(25.38, 61.75, 312.90°)
OKLaboklab(37.55% 0.0841 -0.1288)
OKLCHoklch(37.55% 0.154 303.1)
XYZxyz(8.1395, 4.5384, 21.5620)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532182 #508221
analogous
#232182 #532182 #822181
triadic
#532182 #825321 #218253
tetradic
#532182 #822321 #508221 #218182
square
#532182 #822321 #508221 #218182
split-complementary
#532182 #818221 #218223
monochromatic
#150820 #341551 #532182 #722DB3 #914CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##532182#FFFFFF#000000##FFFFFF
##5321821.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)
#003B85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#49394F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #532182;
/* rgb */ color: rgb(83, 33, 130);
/* oklch */ color: oklch(37.5% 0.154 303.1);
Tailwind
colors: {
  custom: {
    50: '#8861a7',
    500: '#532182',
    950: '#000000',
  },
}
SCSS
$custom: #532182;
$custom-light: #8861a7;
$custom-dark: #000000;
JSON
{
  "hex": "#532182",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 270.928,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37546,
    "c": 0.15383,
    "h": 303.1
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#532182
secondary
#7EB44A
accent
#E34591
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #532182

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

Preview Lab → · Contrast checker → · Palette generator →

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