#532CB1#532CB1

#532CB1 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.195 H 288.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#532CB1
RGBrgb(83, 44, 177)
HSLhsl(258, 60%, 43%)
HSVhsv(258, 75%, 69%)
CMYKcmyk(53.1%, 75.1%, 0%, 30.6%)
CIE-LABlab(31.38, 49.38, -64.19)
CIE-LCHlch(31.38, 80.98, 307.57°)
OKLaboklab(43.05% 0.0628 -0.1845)
OKLCHoklch(43.05% 0.195 288.8)
XYZxyz(12.4015, 6.8141, 42.2482)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CB1 #8AB12C
analogous
#2C47B1 #532CB1 #952CB1
triadic
#532CB1 #B1532C #2CB153
tetradic
#532CB1 #B12C47 #8AB12C #2CB195
square
#532CB1 #B12C47 #8AB12C #2CB195
split-complementary
#532CB1 #B1952C #47B12C
monochromatic
#25144F #3C2080 #532CB1 #7149D2 #977ADE

Accessibility & contrast

On white

8.89
#532CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#532CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CB1
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CB1#FFFFFF#000000##FFFFFF
##532CB11.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#2F516C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532cb1;
/* rgb */ color: rgb(83, 44, 177);
/* oklch */ color: oklch(43.1% 0.195 288.8);
Tailwind
colors: {
  custom: {
    50: '#8d69c9',
    500: '#532cb1',
    950: '#000000',
  },
}
SCSS
$custom: #532cb1;
$custom-light: #8d69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#532cb1",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 257.594,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.19494,
    "h": 288.8
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#532CB1
secondary
#AEC673
accent
#E344B5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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