#532AA1#532AA1

#532AA1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.179 H 292.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#532AA1
RGBrgb(83, 42, 161)
HSLhsl(261, 59%, 40%)
HSVhsv(261, 74%, 63%)
CMYKcmyk(48.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(29.58, 45.90, -57.51)
CIE-LCHlch(29.58, 73.58, 308.59°)
OKLaboklab(41.34% 0.0685 -0.1649)
OKLCHoklch(41.34% 0.179 292.5)
XYZxyz(10.8265, 6.0678, 34.3121)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA1 #78A12A
analogous
#2A3DA1 #532AA1 #8E2AA1
triadic
#532AA1 #A1532A #2AA153
tetradic
#532AA1 #A12A3D #78A12A #2AA18E
square
#532AA1 #A12A3D #78A12A #2AA18E
split-complementary
#532AA1 #A18E2A #3DA12A
monochromatic
#211140 #3A1D70 #532AA1 #6E3CCC #926DD9

Accessibility & contrast

On white

9.49
#532AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532AA1
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA1#FFFFFF#000000##FFFFFF
##532AA11.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#3B4963
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532aa1;
/* rgb */ color: rgb(83, 42, 161);
/* oklch */ color: oklch(41.3% 0.179 292.5);
Tailwind
colors: {
  custom: {
    50: '#8b68be',
    500: '#532aa1',
    950: '#000000',
  },
}
SCSS
$custom: #532aa1;
$custom-light: #8b68be;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa1",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 260.672,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.17859,
    "h": 292.5
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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