#532D99#532D99

#532D99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.166 H 294.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#532D99
RGBrgb(83, 45, 153)
HSLhsl(261, 55%, 39%)
HSVhsv(261, 71%, 60%)
CMYKcmyk(45.8%, 70.6%, 0%, 40%)
CIE-LABlab(29.45, 42.11, -52.86)
CIE-LCHlch(29.45, 67.58, 308.55°)
OKLaboklab(41.04% 0.0673 -0.1513)
OKLCHoklch(41.04% 0.166 294)
XYZxyz(10.2539, 6.0154, 30.7516)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D99 #73992D
analogous
#2D3D99 #532D99 #892D99
triadic
#532D99 #99532D #2D9953
tetradic
#532D99 #992D3D #73992D #2D9989
square
#532D99 #992D3D #73992D #2D9989
split-complementary
#532D99 #99892D #3D992D
monochromatic
#20113A #391F6A #532D99 #6D3DC6 #916CD4

Accessibility & contrast

On white

9.53
#532D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#532D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D99
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D99#FFFFFF#000000##FFFFFF
##532D991.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#3F485F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532d99;
/* rgb */ color: rgb(83, 45, 153);
/* oklch */ color: oklch(41.0% 0.166 294.0);
Tailwind
colors: {
  custom: {
    50: '#8a69b8',
    500: '#532d99',
    950: '#000000',
  },
}
SCSS
$custom: #532d99;
$custom-light: #8a69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#532d99",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 261.111,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41036,
    "c": 0.16557,
    "h": 294
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#532D99
secondary
#9DBB67
accent
#DE4AAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532D99

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

Preview Lab → · Contrast checker → · Palette generator →

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