#532AB7#532AB7

#532AB7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.204 H 287.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#532AB7
RGBrgb(83, 42, 183)
HSLhsl(257, 63%, 44%)
HSVhsv(257, 77%, 72%)
CMYKcmyk(54.6%, 77%, 0%, 28.2%)
CIE-LABlab(31.61, 52.01, -67.38)
CIE-LCHlch(31.61, 85.12, 307.66°)
OKLaboklab(43.38% 0.0627 -0.1939)
OKLCHoklch(43.38% 0.204 287.9)
XYZxyz(12.9400, 6.9132, 45.4431)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AB7 #8EB72A
analogous
#2A47B7 #532AB7 #9A2AB7
triadic
#532AB7 #B7532A #2AB753
tetradic
#532AB7 #B72A47 #8EB72A #2AB79A
square
#532AB7 #B72A47 #8EB72A #2AB79A
split-complementary
#532AB7 #B79A2A #47B72A
monochromatic
#261353 #3C1F85 #532AB7 #7249D5 #987BE1

Accessibility & contrast

On white

8.81
#532AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#532AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AB7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AB7#FFFFFF#000000##FFFFFF
##532AB71.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#29526F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532ab7;
/* rgb */ color: rgb(83, 42, 183);
/* oklch */ color: oklch(43.4% 0.204 287.9);
Tailwind
colors: {
  custom: {
    50: '#8e69ce',
    500: '#532ab7',
    950: '#000000',
  },
}
SCSS
$custom: #532ab7;
$custom-light: #8e69ce;
$custom-dark: #000000;
JSON
{
  "hex": "#532ab7",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 257.447,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43383,
    "c": 0.20375,
    "h": 287.9
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#532AB7
secondary
#B0C974
accent
#E642B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #532AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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