#532AA6#532AA6

#532AA6 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.184 H 291.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#532AA6
RGBrgb(83, 42, 166)
HSLhsl(260, 60%, 41%)
HSVhsv(260, 75%, 65%)
CMYKcmyk(50%, 74.7%, 0%, 34.9%)
CIE-LABlab(30.03, 47.28, -59.80)
CIE-LCHlch(30.03, 76.24, 308.33°)
OKLaboklab(41.79% 0.0673 -0.1717)
OKLCHoklch(41.79% 0.184 291.4)
XYZxyz(11.2762, 6.2477, 36.6808)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA6 #7DA62A
analogous
#2A3FA6 #532AA6 #912AA6
triadic
#532AA6 #A6532A #2AA653
tetradic
#532AA6 #A62A3F #7DA62A #2AA691
square
#532AA6 #A62A3F #7DA62A #2AA691
split-complementary
#532AA6 #A6912A #3FA62A
monochromatic
#221144 #3B1E75 #532AA6 #6E3FCE #9370DB

Accessibility & contrast

On white

9.33
#532AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#532AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA6
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA6#FFFFFF#000000##FFFFFF
##532AA61.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#374B66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #532aa6;
/* rgb */ color: rgb(83, 42, 166);
/* oklch */ color: oklch(41.8% 0.184 291.4);
Tailwind
colors: {
  custom: {
    50: '#8c68c1',
    500: '#532aa6',
    950: '#000000',
  },
}
SCSS
$custom: #532aa6;
$custom-light: #8c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa6",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 259.839,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.18438,
    "h": 291.4
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#532AA6
secondary
#A5C26A
accent
#E345AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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