#532CB5#532CB5

#532CB5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.200 H 288.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#532CB5
RGBrgb(83, 44, 181)
HSLhsl(257, 61%, 44%)
HSVhsv(257, 76%, 71%)
CMYKcmyk(54.1%, 75.7%, 0%, 29%)
CIE-LABlab(31.75, 50.50, -65.96)
CIE-LCHlch(31.75, 83.07, 307.44°)
OKLaboklab(43.43% 0.0618 -0.1897)
OKLCHoklch(43.43% 0.2 288)
XYZxyz(12.8060, 6.9759, 44.3788)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CB5 #8EB52C
analogous
#2C4AB5 #532CB5 #982CB5
triadic
#532CB5 #B5532C #2CB553
tetradic
#532CB5 #B52C4A #8EB52C #2CB598
square
#532CB5 #B52C4A #8EB52C #2CB598
split-complementary
#532CB5 #B5982C #4AB52C
monochromatic
#261453 #3C2084 #532CB5 #724BD3 #987CDF

Accessibility & contrast

On white

8.77
#532CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532CB5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CB5#FFFFFF#000000##FFFFFF
##532CB51.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#2B526F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532cb5;
/* rgb */ color: rgb(83, 44, 181);
/* oklch */ color: oklch(43.4% 0.200 288.0);
Tailwind
colors: {
  custom: {
    50: '#8e6acc',
    500: '#532cb5',
    950: '#000000',
  },
}
SCSS
$custom: #532cb5;
$custom-light: #8e6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#532cb5",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 257.08,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.19952,
    "h": 288
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#532CB5
secondary
#B0C875
accent
#E444B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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