#532D8D#532D8D

#532D8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.151 H 297.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#532D8D
RGBrgb(83, 45, 141)
HSLhsl(264, 52%, 36%)
HSVhsv(264, 68%, 55%)
CMYKcmyk(41.1%, 68.1%, 0%, 44.7%)
CIE-LABlab(28.48, 38.77, -47.05)
CIE-LCHlch(28.48, 60.97, 309.49°)
OKLaboklab(40.04% 0.0691 -0.1342)
OKLCHoklch(40.04% 0.151 297.3)
XYZxyz(9.3121, 5.6387, 25.7919)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D8D #678D2D
analogous
#2D378D #532D8D #832D8D
triadic
#532D8D #8D532D #2D8D53
tetradic
#532D8D #8D2D37 #678D2D #2D8D83
square
#532D8D #8D2D37 #678D2D #2D8D83
split-complementary
#532D8D #8D832D #378D2D
monochromatic
#1C0F30 #381E5F #532D8D #6E3CBB #8F66CE

Accessibility & contrast

On white

9.87
#532D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#532D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D8D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D8D#FFFFFF#000000##FFFFFF
##532D8D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#454359
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532d8d;
/* rgb */ color: rgb(83, 45, 141);
/* oklch */ color: oklch(40.0% 0.151 297.3);
Tailwind
colors: {
  custom: {
    50: '#8869af',
    500: '#532d8d',
    950: '#000000',
  },
}
SCSS
$custom: #532d8d;
$custom-light: #8869af;
$custom-dark: #000000;
JSON
{
  "hex": "#532d8d",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 263.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.151,
    "h": 297.3
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#532D8D
secondary
#94B561
accent
#DB4DA3
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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