#532AA4#532AA4

#532AA4 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.182 H 291.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#532AA4
RGBrgb(83, 42, 164)
HSLhsl(260, 59%, 40%)
HSVhsv(260, 74%, 64%)
CMYKcmyk(49.4%, 74.4%, 0%, 35.7%)
CIE-LABlab(29.85, 46.73, -58.89)
CIE-LCHlch(29.85, 75.18, 308.43°)
OKLaboklab(41.61% 0.0678 -0.169)
OKLCHoklch(41.61% 0.182 291.8)
XYZxyz(11.0942, 6.1749, 35.7221)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA4 #7BA42A
analogous
#2A3EA4 #532AA4 #902AA4
triadic
#532AA4 #A4532A #2AA453
tetradic
#532AA4 #A42A3E #7BA42A #2AA490
square
#532AA4 #A42A3E #7BA42A #2AA490
split-complementary
#532AA4 #A4902A #3EA42A
monochromatic
#221143 #3A1E73 #532AA4 #6E3ECD #936EDA

Accessibility & contrast

On white

9.40
#532AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#532AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA4
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA4#FFFFFF#000000##FFFFFF
##532AA41.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#394B65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532aa4;
/* rgb */ color: rgb(83, 42, 164);
/* oklch */ color: oklch(41.6% 0.182 291.8);
Tailwind
colors: {
  custom: {
    50: '#8b68c0',
    500: '#532aa4',
    950: '#000000',
  },
}
SCSS
$custom: #532aa4;
$custom-light: #8b68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa4",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 260.164,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.18207,
    "h": 291.8
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#532AA4
secondary
#A3C169
accent
#E245AE
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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