#532BA3#532BA3

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

Color values

HEX#532BA3
RGBrgb(83, 43, 163)
HSLhsl(260, 58%, 40%)
HSVhsv(260, 74%, 64%)
CMYKcmyk(49.1%, 73.6%, 0%, 36.1%)
CIE-LABlab(29.94, 45.95, -58.14)
CIE-LCHlch(29.94, 74.11, 308.32°)
OKLaboklab(41.65% 0.0671 -0.1668)
OKLCHoklch(41.65% 0.18 291.9)
XYZxyz(11.0402, 6.2107, 35.2603)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BA3 #7BA32B
analogous
#2B3FA3 #532BA3 #8F2BA3
triadic
#532BA3 #A3532B #2BA353
tetradic
#532BA3 #A32B3F #7BA32B #2BA38F
square
#532BA3 #A32B3F #7BA32B #2BA38F
split-complementary
#532BA3 #A38F2B #3FA32B
monochromatic
#221142 #3A1E73 #532BA3 #6E3FCC #936FD9

Accessibility & contrast

On white

9.37
#532BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532BA3
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BA3#FFFFFF#000000##FFFFFF
##532BA31.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#394B64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532ba3;
/* rgb */ color: rgb(83, 43, 163);
/* oklch */ color: oklch(41.6% 0.180 291.9);
Tailwind
colors: {
  custom: {
    50: '#8b68bf',
    500: '#532ba3',
    950: '#000000',
  },
}
SCSS
$custom: #532ba3;
$custom-light: #8b68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#532ba3",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 260,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.17979,
    "h": 291.9
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#532BA3
secondary
#A3C06A
accent
#E146AE
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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