#532C8D#532C8D

#532C8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.152 H 297.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#532C8D
RGBrgb(83, 44, 141)
HSLhsl(264, 52%, 36%)
HSVhsv(264, 69%, 55%)
CMYKcmyk(41.1%, 68.8%, 0%, 44.7%)
CIE-LABlab(28.28, 39.32, -47.38)
CIE-LCHlch(28.28, 61.57, 309.69°)
OKLaboklab(39.9% 0.0703 -0.1352)
OKLCHoklch(39.9% 0.152 297.5)
XYZxyz(9.2744, 5.5633, 25.7793)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C8D #668D2C
analogous
#2C368D #532C8D #842C8D
triadic
#532C8D #8D532C #2C8D53
tetradic
#532C8D #8D2C36 #668D2C #2C8D84
square
#532C8D #8D2C36 #668D2C #2C8D84
split-complementary
#532C8D #8D842C #368D2C
monochromatic
#1C0F30 #381D5E #532C8D #6E3BBC #8F65CF

Accessibility & contrast

On white

9.94
#532C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#532C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C8D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C8D#FFFFFF#000000##FFFFFF
##532C8D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532c8d;
/* rgb */ color: rgb(83, 44, 141);
/* oklch */ color: oklch(39.9% 0.152 297.5);
Tailwind
colors: {
  custom: {
    50: '#8868af',
    500: '#532c8d',
    950: '#000000',
  },
}
SCSS
$custom: #532c8d;
$custom-light: #8868af;
$custom-dark: #000000;
JSON
{
  "hex": "#532c8d",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 264.124,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39895,
    "c": 0.15236,
    "h": 297.5
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#532C8D
secondary
#93B560
accent
#DC4CA2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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