#532AAA#532AAA

#532AAA is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.189 H 290.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#532AAA
RGBrgb(83, 42, 170)
HSLhsl(259, 60%, 42%)
HSVhsv(259, 75%, 67%)
CMYKcmyk(51.2%, 75.3%, 0%, 33.3%)
CIE-LABlab(30.39, 48.40, -61.62)
CIE-LCHlch(30.39, 78.35, 308.15°)
OKLaboklab(42.16% 0.0663 -0.177)
OKLCHoklch(42.16% 0.189 290.5)
XYZxyz(11.6489, 6.3967, 38.6433)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AAA #81AA2A
analogous
#2A41AA #532AAA #932AAA
triadic
#532AAA #AA532A #2AAA53
tetradic
#532AAA #AA2A41 #81AA2A #2AAA93
square
#532AAA #AA2A41 #81AA2A #2AAA93
split-complementary
#532AAA #AA932A #41AA2A
monochromatic
#231248 #3B1E79 #532AAA #6F41D0 #9472DC

Accessibility & contrast

On white

9.21
#532AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#532AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AAA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AAA#FFFFFF#000000##FFFFFF
##532AAA1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#344D68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532aaa;
/* rgb */ color: rgb(83, 42, 170);
/* oklch */ color: oklch(42.2% 0.189 290.5);
Tailwind
colors: {
  custom: {
    50: '#8c68c4',
    500: '#532aaa',
    950: '#000000',
  },
}
SCSS
$custom: #532aaa;
$custom-light: #8c68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#532aaa",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 259.219,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.18897,
    "h": 290.5
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#532AAA
secondary
#A8C36C
accent
#E444B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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