#532BA2#532BA2

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

Color values

HEX#532BA2
RGBrgb(83, 43, 162)
HSLhsl(260, 58%, 40%)
HSVhsv(260, 73%, 64%)
CMYKcmyk(48.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(29.85, 45.67, -57.68)
CIE-LCHlch(29.85, 73.57, 308.37°)
OKLaboklab(41.56% 0.0673 -0.1654)
OKLCHoklch(41.56% 0.179 292.1)
XYZxyz(10.9509, 6.1750, 34.7903)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BA2 #7AA22B
analogous
#2B3EA2 #532BA2 #8E2BA2
triadic
#532BA2 #A2532B #2BA253
tetradic
#532BA2 #A22B3E #7AA22B #2BA28E
square
#532BA2 #A22B3E #7AA22B #2BA28E
split-complementary
#532BA2 #A28E2B #3EA22B
monochromatic
#211141 #3A1E72 #532BA2 #6E3ECC #926FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##532BA2#FFFFFF#000000##FFFFFF
##532BA21.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)
#0048A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#3A4A64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532ba2;
/* rgb */ color: rgb(83, 43, 162);
/* oklch */ color: oklch(41.6% 0.179 292.1);
Tailwind
colors: {
  custom: {
    50: '#8b68bf',
    500: '#532ba2',
    950: '#000000',
  },
}
SCSS
$custom: #532ba2;
$custom-light: #8b68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#532ba2",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 260.168,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.17862,
    "h": 292.1
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#532BA2
secondary
#A3C069
accent
#E147AD
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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