#532D9E#532D9E

#532D9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.172 H 292.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#532D9E
RGBrgb(83, 45, 158)
HSLhsl(260, 56%, 40%)
HSVhsv(260, 72%, 62%)
CMYKcmyk(47.5%, 71.5%, 0%, 38%)
CIE-LABlab(29.87, 43.52, -55.22)
CIE-LCHlch(29.87, 70.30, 308.24°)
OKLaboklab(41.47% 0.0663 -0.1582)
OKLCHoklch(41.47% 0.172 292.7)
XYZxyz(10.6755, 6.1840, 32.9723)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D9E #789E2D
analogous
#2D409E #532D9E #8C2D9E
triadic
#532D9E #9E532D #2D9E53
tetradic
#532D9E #9E2D40 #789E2D #2D9E8C
square
#532D9E #9E2D40 #789E2D #2D9E8C
split-complementary
#532D9E #9E8C2D #409E2D
monochromatic
#21123F #3A1F6E #532D9E #6E40C9 #926FD6

Accessibility & contrast

On white

9.39
#532D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#532D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D9E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D9E#FFFFFF#000000##FFFFFF
##532D9E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#3C4A62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532d9e;
/* rgb */ color: rgb(83, 45, 158);
/* oklch */ color: oklch(41.5% 0.172 292.7);
Tailwind
colors: {
  custom: {
    50: '#8a69bc',
    500: '#532d9e',
    950: '#000000',
  },
}
SCSS
$custom: #532d9e;
$custom-light: #8a69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#532d9e",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 260.177,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.17156,
    "h": 292.7
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#532D9E
secondary
#A1BD69
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #532D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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