#532DAB#532DAB

#532DAB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.187 H 289.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#532DAB
RGBrgb(83, 45, 171)
HSLhsl(258, 58%, 42%)
HSVhsv(258, 74%, 67%)
CMYKcmyk(51.5%, 73.7%, 0%, 32.9%)
CIE-LABlab(31.01, 47.19, -61.20)
CIE-LCHlch(31.01, 77.28, 307.63°)
OKLaboklab(42.62% 0.0635 -0.1758)
OKLCHoklch(42.62% 0.187 289.9)
XYZxyz(11.8542, 6.6555, 39.1802)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DAB #85AB2D
analogous
#2D46AB #532DAB #922DAB
triadic
#532DAB #AB532D #2DAB53
tetradic
#532DAB #AB2D46 #85AB2D #2DAB92
square
#532DAB #AB2D46 #85AB2D #2DAB92
split-complementary
#532DAB #AB922D #46AB2D
monochromatic
#24144A #3B207B #532DAB #7047CE #9577DB

Accessibility & contrast

On white

9.01
#532DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#532DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DAB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DAB#FFFFFF#000000##FFFFFF
##532DAB1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#344F69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532dab;
/* rgb */ color: rgb(83, 45, 171);
/* oklch */ color: oklch(42.6% 0.187 289.9);
Tailwind
colors: {
  custom: {
    50: '#8c6ac5',
    500: '#532dab',
    950: '#000000',
  },
}
SCSS
$custom: #532dab;
$custom-light: #8c6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#532dab",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 258.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.18691,
    "h": 289.9
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#532DAB
secondary
#AAC371
accent
#E246B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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