#532AC2#532AC2

#532AC2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.216 H 286.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#532AC2
RGBrgb(83, 42, 194)
HSLhsl(256, 64%, 46%)
HSVhsv(256, 78%, 76%)
CMYKcmyk(57.2%, 78.4%, 0%, 23.9%)
CIE-LABlab(32.68, 55.06, -72.11)
CIE-LCHlch(32.68, 90.73, 307.36°)
OKLaboklab(44.45% 0.0595 -0.2077)
OKLCHoklch(44.45% 0.216 286)
XYZxyz(14.1299, 7.3891, 51.7102)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AC2 #99C22A
analogous
#2A4DC2 #532AC2 #9F2AC2
triadic
#532AC2 #C2532A #2AC253
tetradic
#532AC2 #C22A4D #99C22A #2AC29F
square
#532AC2 #C22A4D #99C22A #2AC29F
split-complementary
#532AC2 #C29F2A #4DC22A
monochromatic
#28145D #3D1F90 #532AC2 #7550D9 #9D82E4

Accessibility & contrast

On white

8.47
#532AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#532AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AC2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AC2#FFFFFF#000000##FFFFFF
##532AC21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#1A5776
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #532ac2;
/* rgb */ color: rgb(83, 42, 194);
/* oklch */ color: oklch(44.5% 0.216 286.0);
Tailwind
colors: {
  custom: {
    50: '#9069d6',
    500: '#532ac2',
    950: '#000000',
  },
}
SCSS
$custom: #532ac2;
$custom-light: #9069d6;
$custom-dark: #000000;
JSON
{
  "hex": "#532ac2",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 256.184,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4445,
    "c": 0.21606,
    "h": 286
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#532AC2
secondary
#B7CD7B
accent
#E740BA
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #532AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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