#532B99#532B99

#532B99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.168 H 294.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#532B99
RGBrgb(83, 43, 153)
HSLhsl(262, 56%, 38%)
HSVhsv(262, 72%, 60%)
CMYKcmyk(45.8%, 71.9%, 0%, 40%)
CIE-LABlab(29.07, 43.17, -53.47)
CIE-LCHlch(29.07, 68.72, 308.91°)
OKLaboklab(40.77% 0.0693 -0.1531)
OKLCHoklch(40.77% 0.168 294.3)
XYZxyz(10.1794, 5.8664, 30.7268)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B99 #71992B
analogous
#2B3A99 #532B99 #8A2B99
triadic
#532B99 #99532B #2B9953
tetradic
#532B99 #992B3A #71992B #2B998A
square
#532B99 #992B3A #71992B #2B998A
split-complementary
#532B99 #998A2B #3A992B
monochromatic
#1F1039 #391E69 #532B99 #6D3AC8 #9169D5

Accessibility & contrast

On white

9.66
#532B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#532B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B99
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B99#FFFFFF#000000##FFFFFF
##532B991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#3F475F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532b99;
/* rgb */ color: rgb(83, 43, 153);
/* oklch */ color: oklch(40.8% 0.168 294.3);
Tailwind
colors: {
  custom: {
    50: '#8a68b8',
    500: '#532b99',
    950: '#000000',
  },
}
SCSS
$custom: #532b99;
$custom-light: #8a68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#532b99",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 261.818,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.16804,
    "h": 294.3
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#532B99
secondary
#9CBC64
accent
#DF48A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532B99

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

Preview Lab → · Contrast checker → · Palette generator →

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