#532AA9#532AA9

#532AA9 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.188 H 290.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#532AA9
RGBrgb(83, 42, 169)
HSLhsl(259, 60%, 41%)
HSVhsv(259, 75%, 66%)
CMYKcmyk(50.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(30.30, 48.12, -61.16)
CIE-LCHlch(30.30, 77.82, 308.19°)
OKLaboklab(42.07% 0.0665 -0.1757)
OKLCHoklch(42.07% 0.188 290.7)
XYZxyz(11.5546, 6.3590, 38.1470)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA9 #80A92A
analogous
#2A41A9 #532AA9 #932AA9
triadic
#532AA9 #A9532A #2AA953
tetradic
#532AA9 #A92A41 #80A92A #2AA993
square
#532AA9 #A92A41 #80A92A #2AA993
split-complementary
#532AA9 #A9932A #41A92A
monochromatic
#231247 #3B1E78 #532AA9 #6F41D0 #9472DC

Accessibility & contrast

On white

9.24
#532AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#532AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA9
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA9#FFFFFF#000000##FFFFFF
##532AA91.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#354D67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #532aa9;
/* rgb */ color: rgb(83, 42, 169);
/* oklch */ color: oklch(42.1% 0.188 290.7);
Tailwind
colors: {
  custom: {
    50: '#8c68c4',
    500: '#532aa9',
    950: '#000000',
  },
}
SCSS
$custom: #532aa9;
$custom-light: #8c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa9",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 259.37,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.18783,
    "h": 290.7
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#532AA9
secondary
#A7C36C
accent
#E344B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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