#532DB2#532DB2

#532DB2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.195 H 288.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#532DB2
RGBrgb(83, 45, 178)
HSLhsl(257, 60%, 44%)
HSVhsv(257, 75%, 70%)
CMYKcmyk(53.4%, 74.7%, 0%, 30.2%)
CIE-LABlab(31.65, 49.16, -64.34)
CIE-LCHlch(31.65, 80.98, 307.38°)
OKLaboklab(43.27% 0.0618 -0.185)
OKLCHoklch(43.27% 0.195 288.5)
XYZxyz(12.5392, 6.9295, 42.7877)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DB2 #8CB22D
analogous
#2D49B2 #532DB2 #952DB2
triadic
#532DB2 #B2532D #2DB253
tetradic
#532DB2 #B22D49 #8CB22D #2DB295
square
#532DB2 #B22D49 #8CB22D #2DB295
split-complementary
#532DB2 #B2952D #49B22D
monochromatic
#251450 #3C2181 #532DB2 #714BD1 #987CDE

Accessibility & contrast

On white

8.80
#532DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#532DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DB2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DB2#FFFFFF#000000##FFFFFF
##532DB21.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#2E526D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532db2;
/* rgb */ color: rgb(83, 45, 178);
/* oklch */ color: oklch(43.3% 0.195 288.5);
Tailwind
colors: {
  custom: {
    50: '#8d6aca',
    500: '#532db2',
    950: '#000000',
  },
}
SCSS
$custom: #532db2;
$custom-light: #8d6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#532db2",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 257.143,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.19505,
    "h": 288.5
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#532DB2
secondary
#AFC675
accent
#E345B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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