#532AA0#532AA0

#532AA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.177 H 292.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#532AA0
RGBrgb(83, 42, 160)
HSLhsl(261, 58%, 40%)
HSVhsv(261, 74%, 63%)
CMYKcmyk(48.1%, 73.8%, 0%, 37.3%)
CIE-LABlab(29.49, 45.62, -57.05)
CIE-LCHlch(29.49, 73.04, 308.65°)
OKLaboklab(41.25% 0.0687 -0.1636)
OKLCHoklch(41.25% 0.177 292.8)
XYZxyz(10.7386, 6.0326, 33.8495)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA0 #77A02A
analogous
#2A3CA0 #532AA0 #8E2AA0
triadic
#532AA0 #A0532A #2AA053
tetradic
#532AA0 #A02A3C #77A02A #2AA08E
square
#532AA0 #A02A3C #77A02A #2AA08E
split-complementary
#532AA0 #A08E2A #3CA02A
monochromatic
#21113F #3A1D70 #532AA0 #6E3CCC #926CD8

Accessibility & contrast

On white

9.52
#532AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#532AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA0
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA0#FFFFFF#000000##FFFFFF
##532AA01.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#3B4962
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532aa0;
/* rgb */ color: rgb(83, 42, 160);
/* oklch */ color: oklch(41.3% 0.177 292.8);
Tailwind
colors: {
  custom: {
    50: '#8b68bd',
    500: '#532aa0',
    950: '#000000',
  },
}
SCSS
$custom: #532aa0;
$custom-light: #8b68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa0",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 260.847,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.17742,
    "h": 292.8
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#532AA0
secondary
#A0BF67
accent
#E246AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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