#532DB6#532DB6

#532DB6 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.200 H 287.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#532DB6
RGBrgb(83, 45, 182)
HSLhsl(257, 60%, 45%)
HSVhsv(257, 75%, 71%)
CMYKcmyk(54.4%, 75.3%, 0%, 28.6%)
CIE-LABlab(32.02, 50.29, -66.11)
CIE-LCHlch(32.02, 83.07, 307.26°)
OKLaboklab(43.64% 0.0608 -0.1902)
OKLCHoklch(43.64% 0.2 287.7)
XYZxyz(12.9467, 7.0925, 44.9337)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DB6 #90B62D
analogous
#2D4CB6 #532DB6 #972DB6
triadic
#532DB6 #B6532D #2DB653
tetradic
#532DB6 #B62D4C #90B62D #2DB697
square
#532DB6 #B62D4C #90B62D #2DB697
split-complementary
#532DB6 #B6972D #4CB62D
monochromatic
#261554 #3D2185 #532DB6 #724DD3 #997EDF

Accessibility & contrast

On white

8.68
#532DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#532DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DB6
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DB6#FFFFFF#000000##FFFFFF
##532DB61.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#2A5370
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532db6;
/* rgb */ color: rgb(83, 45, 182);
/* oklch */ color: oklch(43.6% 0.200 287.7);
Tailwind
colors: {
  custom: {
    50: '#8e6acd',
    500: '#532db6',
    950: '#000000',
  },
}
SCSS
$custom: #532db6;
$custom-light: #8e6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#532db6",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 256.642,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.19965,
    "h": 287.7
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#532DB6
secondary
#B1C877
accent
#E344B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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