#532A99#532A99

#532A99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.169 H 294.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#532A99
RGBrgb(83, 42, 153)
HSLhsl(262, 57%, 38%)
HSVhsv(262, 73%, 60%)
CMYKcmyk(45.8%, 72.5%, 0%, 40%)
CIE-LABlab(28.89, 43.68, -53.77)
CIE-LCHlch(28.89, 69.28, 309.09°)
OKLaboklab(40.64% 0.0703 -0.154)
OKLCHoklch(40.64% 0.169 294.5)
XYZxyz(10.1435, 5.7946, 30.7148)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532A99 #70992A
analogous
#2A3899 #532A99 #8A2A99
triadic
#532A99 #99532A #2A9953
tetradic
#532A99 #992A38 #70992A #2A998A
square
#532A99 #992A38 #70992A #2A998A
split-complementary
#532A99 #998A2A #38992A
monochromatic
#1F1039 #391D69 #532A99 #6D38C8 #9068D6

Accessibility & contrast

On white

9.73
#532A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#532A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532A99
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532A99#FFFFFF#000000##FFFFFF
##532A991.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#3F465F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532a99;
/* rgb */ color: rgb(83, 42, 153);
/* oklch */ color: oklch(40.6% 0.169 294.5);
Tailwind
colors: {
  custom: {
    50: '#8a67b8',
    500: '#532a99',
    950: '#000000',
  },
}
SCSS
$custom: #532a99;
$custom-light: #8a67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#532a99",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 262.162,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.16925,
    "h": 294.5
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#532A99
secondary
#9BBC63
accent
#E048A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532A99

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

Preview Lab → · Contrast checker → · Palette generator →

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