#532B96#532B96

#532B96 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.164 H 295.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#532B96
RGBrgb(83, 43, 150)
HSLhsl(262, 55%, 38%)
HSVhsv(262, 71%, 59%)
CMYKcmyk(44.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(28.82, 42.34, -52.05)
CIE-LCHlch(28.82, 67.09, 309.12°)
OKLaboklab(40.51% 0.0699 -0.1489)
OKLCHoklch(40.51% 0.164 295.1)
XYZxyz(9.9347, 5.7685, 29.4382)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B96 #6E962B
analogous
#2B3896 #532B96 #882B96
triadic
#532B96 #96532B #2B9653
tetradic
#532B96 #962B38 #6E962B #2B9688
square
#532B96 #962B38 #6E962B #2B9688
split-complementary
#532B96 #96882B #38962B
monochromatic
#1E1037 #391D66 #532B96 #6D39C6 #9068D4

Accessibility & contrast

On white

9.75
#532B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#532B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B96
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B96#FFFFFF#000000##FFFFFF
##532B961.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#41465D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532b96;
/* rgb */ color: rgb(83, 43, 150);
/* oklch */ color: oklch(40.5% 0.164 295.1);
Tailwind
colors: {
  custom: {
    50: '#8a68b6',
    500: '#532b96',
    950: '#000000',
  },
}
SCSS
$custom: #532b96;
$custom-light: #8a68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532b96",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 262.43,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40508,
    "c": 0.16448,
    "h": 295.1
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#532B96
secondary
#99BA63
accent
#DF49A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532B96

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

Preview Lab → · Contrast checker → · Palette generator →

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