#532CB6#532CB6

#532CB6 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.201 H 287.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#532CB6
RGBrgb(83, 44, 182)
HSLhsl(257, 61%, 44%)
HSVhsv(257, 76%, 71%)
CMYKcmyk(54.4%, 75.8%, 0%, 28.6%)
CIE-LABlab(31.85, 50.78, -66.40)
CIE-LCHlch(31.85, 83.59, 307.41°)
OKLaboklab(43.52% 0.0615 -0.191)
OKLCHoklch(43.52% 0.201 287.9)
XYZxyz(12.9090, 7.0171, 44.9211)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CB6 #8FB62C
analogous
#2C4AB6 #532CB6 #982CB6
triadic
#532CB6 #B6532C #2CB653
tetradic
#532CB6 #B62C4A #8FB62C #2CB698
square
#532CB6 #B62C4A #8FB62C #2CB698
split-complementary
#532CB6 #B6982C #4AB62C
monochromatic
#261453 #3D2085 #532CB6 #724CD4 #997DE0

Accessibility & contrast

On white

8.74
#532CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#532CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CB6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CB6#FFFFFF#000000##FFFFFF
##532CB61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#2A536F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532cb6;
/* rgb */ color: rgb(83, 44, 182);
/* oklch */ color: oklch(43.5% 0.201 287.9);
Tailwind
colors: {
  custom: {
    50: '#8e6acd',
    500: '#532cb6',
    950: '#000000',
  },
}
SCSS
$custom: #532cb6;
$custom-light: #8e6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#532cb6",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 256.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.20067,
    "h": 287.9
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#532CB6
secondary
#B1C876
accent
#E444B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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