#532AA2#532AA2

#532AA2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.180 H 292.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#532AA2
RGBrgb(83, 42, 162)
HSLhsl(261, 59%, 40%)
HSVhsv(261, 74%, 64%)
CMYKcmyk(48.8%, 74.1%, 0%, 36.5%)
CIE-LABlab(29.67, 46.17, -57.97)
CIE-LCHlch(29.67, 74.11, 308.54°)
OKLaboklab(41.43% 0.0682 -0.1663)
OKLCHoklch(41.43% 0.18 292.3)
XYZxyz(10.9150, 6.1032, 34.7783)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA2 #79A22A
analogous
#2A3DA2 #532AA2 #8F2AA2
triadic
#532AA2 #A2532A #2AA253
tetradic
#532AA2 #A22A3D #79A22A #2AA28F
square
#532AA2 #A22A3D #79A22A #2AA28F
split-complementary
#532AA2 #A28F2A #3DA22A
monochromatic
#211141 #3A1D71 #532AA2 #6E3DCD #926DD9

Accessibility & contrast

On white

9.46
#532AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#532AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA2
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA2#FFFFFF#000000##FFFFFF
##532AA21.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3A4A64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532aa2;
/* rgb */ color: rgb(83, 42, 162);
/* oklch */ color: oklch(41.4% 0.180 292.3);
Tailwind
colors: {
  custom: {
    50: '#8b68bf',
    500: '#532aa2',
    950: '#000000',
  },
}
SCSS
$custom: #532aa2;
$custom-light: #8b68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa2",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 260.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.17975,
    "h": 292.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#532AA2
secondary
#A2C068
accent
#E246AD
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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