#532082#532082

#532082 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.155 H 303.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#532082
RGBrgb(83, 32, 130)
HSLhsl(271, 60%, 32%)
HSVhsv(271, 75%, 51%)
CMYKcmyk(36.2%, 75.4%, 0%, 49%)
CIE-LABlab(25.21, 42.51, -45.51)
CIE-LCHlch(25.21, 62.27, 313.05°)
OKLaboklab(37.43% 0.0851 -0.1296)
OKLCHoklch(37.43% 0.155 303.3)
XYZxyz(8.1121, 4.4837, 21.5528)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532082 #4F8220
analogous
#222082 #532082 #822080
triadic
#532082 #825320 #208253
tetradic
#532082 #822220 #4F8220 #208082
square
#532082 #822220 #4F8220 #208082
split-complementary
#532082 #808220 #208222
monochromatic
#140820 #341451 #532082 #722CB3 #914AD2

Accessibility & contrast

On white

11.07
#532082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#532082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532082
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532082#FFFFFF#000000##FFFFFF
##5320821.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#4A384F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #532082;
/* rgb */ color: rgb(83, 32, 130);
/* oklch */ color: oklch(37.4% 0.155 303.3);
Tailwind
colors: {
  custom: {
    50: '#8861a7',
    500: '#532082',
    950: '#000000',
  },
}
SCSS
$custom: #532082;
$custom-light: #8861a7;
$custom-dark: #000000;
JSON
{
  "hex": "#532082",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 271.224,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.15506,
    "h": 303.3
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#532082
secondary
#7DB549
accent
#E44491
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #532082

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

Preview Lab → · Contrast checker → · Palette generator →

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