#532080#532080

#532080 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.153 H 304.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#532080
RGBrgb(83, 32, 128)
HSLhsl(272, 60%, 31%)
HSVhsv(272, 75%, 50%)
CMYKcmyk(35.2%, 75%, 0%, 49.8%)
CIE-LABlab(25.05, 42.01, -44.51)
CIE-LCHlch(25.05, 61.20, 313.34°)
OKLaboklab(37.26% 0.0855 -0.1267)
OKLCHoklch(37.26% 0.153 304)
XYZxyz(7.9792, 4.4306, 20.8527)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532080 #4D8020
analogous
#232080 #532080 #80207D
triadic
#532080 #805320 #208053
tetradic
#532080 #802320 #4D8020 #207D80
square
#532080 #802320 #4D8020 #207D80
split-complementary
#532080 #7D8020 #208023
monochromatic
#14081E #33144F #532080 #732CB1 #9149D1

Accessibility & contrast

On white

11.13
#532080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#532080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532080
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532080#FFFFFF#000000##FFFFFF
##5320801.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#4A374E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #532080;
/* rgb */ color: rgb(83, 32, 128);
/* oklch */ color: oklch(37.3% 0.153 304.0);
Tailwind
colors: {
  custom: {
    50: '#8861a6',
    500: '#532080',
    950: '#000000',
  },
}
SCSS
$custom: #532080;
$custom-light: #8861a6;
$custom-dark: #000000;
JSON
{
  "hex": "#532080",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 271.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37261,
    "c": 0.15286,
    "h": 304
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#532080
secondary
#7BB349
accent
#E3458F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #532080

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

Preview Lab → · Contrast checker → · Palette generator →

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