#532D8A#532D8A

#532D8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.147 H 298.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#532D8A
RGBrgb(83, 45, 138)
HSLhsl(265, 51%, 36%)
HSVhsv(265, 67%, 54%)
CMYKcmyk(39.9%, 67.4%, 0%, 45.9%)
CIE-LABlab(28.25, 37.94, -45.57)
CIE-LCHlch(28.25, 59.30, 309.78°)
OKLaboklab(39.8% 0.0695 -0.1299)
OKLCHoklch(39.8% 0.147 298.2)
XYZxyz(9.0919, 5.5506, 24.6322)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D8A #648A2D
analogous
#2D358A #532D8A #812D8A
triadic
#532D8A #8A532D #2D8A53
tetradic
#532D8A #8A2D35 #648A2D #2D8A81
square
#532D8A #8A2D35 #648A2D #2D8A81
split-complementary
#532D8A #8A812D #358A2D
monochromatic
#1B0F2E #371E5C #532D8A #6F3CB8 #8F65CD

Accessibility & contrast

On white

9.95
#532D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#532D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D8A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D8A#FFFFFF#000000##FFFFFF
##532D8A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#464257
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532d8a;
/* rgb */ color: rgb(83, 45, 138);
/* oklch */ color: oklch(39.8% 0.147 298.2);
Tailwind
colors: {
  custom: {
    50: '#8868ad',
    500: '#532d8a',
    950: '#000000',
  },
}
SCSS
$custom: #532d8a;
$custom-light: #8868ad;
$custom-dark: #000000;
JSON
{
  "hex": "#532d8a",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 264.516,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.14732,
    "h": 298.2
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#532D8A
secondary
#91B360
accent
#DA4DA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#532D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva