#532AC6#532AC6

#532AC6 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.220 H 285.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#532AC6
RGBrgb(83, 42, 198)
HSLhsl(256, 65%, 47%)
HSVhsv(256, 79%, 78%)
CMYKcmyk(58.1%, 78.8%, 0%, 22.4%)
CIE-LABlab(33.07, 56.16, -73.81)
CIE-LCHlch(33.07, 92.74, 307.27°)
OKLaboklab(44.85% 0.0583 -0.2126)
OKLCHoklch(44.85% 0.22 285.3)
XYZxyz(14.5852, 7.5713, 54.1080)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AC6 #9DC62A
analogous
#2A4FC6 #532AC6 #A12AC6
triadic
#532AC6 #C6532A #2AC653
tetradic
#532AC6 #C62A4F #9DC62A #2AC6A1
square
#532AC6 #C62A4F #9DC62A #2AC6A1
split-complementary
#532AC6 #C6A12A #4FC62A
monochromatic
#291561 #3E1F94 #532AC6 #7653DA #9E85E5

Accessibility & contrast

On white

8.35
#532AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#532AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AC6
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AC6#FFFFFF#000000##FFFFFF
##532AC61.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#125878
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #532ac6;
/* rgb */ color: rgb(83, 42, 198);
/* oklch */ color: oklch(44.8% 0.220 285.3);
Tailwind
colors: {
  custom: {
    50: '#9169d9',
    500: '#532ac6',
    950: '#000000',
  },
}
SCSS
$custom: #532ac6;
$custom-light: #9169d9;
$custom-dark: #000000;
JSON
{
  "hex": "#532ac6",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 198
  },
  "hsl": {
    "h": 255.769,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44845,
    "c": 0.22049,
    "h": 285.3
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#532AC6
secondary
#B9CE7D
accent
#E840BC
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #532AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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