#532C8B#532C8B

#532C8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.150 H 298.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#532C8B
RGBrgb(83, 44, 139)
HSLhsl(265, 52%, 36%)
HSVhsv(265, 68%, 55%)
CMYKcmyk(40.3%, 68.3%, 0%, 45.5%)
CIE-LABlab(28.13, 38.77, -46.39)
CIE-LCHlch(28.13, 60.46, 309.88°)
OKLaboklab(39.73% 0.0705 -0.1323)
OKLCHoklch(39.73% 0.15 298.1)
XYZxyz(9.1270, 5.5043, 25.0027)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C8B #648B2C
analogous
#2C348B #532C8B #822C8B
triadic
#532C8B #8B532C #2C8B53
tetradic
#532C8B #8B2C34 #648B2C #2C8B82
square
#532C8B #8B2C34 #648B2C #2C8B82
split-complementary
#532C8B #8B822C #348B2C
monochromatic
#1B0F2E #371D5D #532C8B #6F3BB9 #8F64CE

Accessibility & contrast

On white

10.00
#532C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#532C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C8B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C8B#FFFFFF#000000##FFFFFF
##532C8B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#464257
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532c8b;
/* rgb */ color: rgb(83, 44, 139);
/* oklch */ color: oklch(39.7% 0.150 298.1);
Tailwind
colors: {
  custom: {
    50: '#8868ae',
    500: '#532c8b',
    950: '#000000',
  },
}
SCSS
$custom: #532c8b;
$custom-light: #8868ae;
$custom-dark: #000000;
JSON
{
  "hex": "#532c8b",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 264.632,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.14992,
    "h": 298.1
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#532C8B
secondary
#91B45F
accent
#DB4CA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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