#532A97#532A97

#532A97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.167 H 295.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#532A97
RGBrgb(83, 42, 151)
HSLhsl(263, 56%, 38%)
HSVhsv(263, 72%, 59%)
CMYKcmyk(45%, 72.2%, 0%, 40.8%)
CIE-LABlab(28.72, 43.13, -52.83)
CIE-LCHlch(28.72, 68.20, 309.23°)
OKLaboklab(40.46% 0.0707 -0.1512)
OKLCHoklch(40.46% 0.167 295)
XYZxyz(9.9797, 5.7290, 29.8522)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532A97 #6E972A
analogous
#2A3797 #532A97 #8A2A97
triadic
#532A97 #97532A #2A9753
tetradic
#532A97 #972A37 #6E972A #2A978A
square
#532A97 #972A37 #6E972A #2A978A
split-complementary
#532A97 #978A2A #37972A
monochromatic
#1E0F37 #391D67 #532A97 #6D37C7 #9067D5

Accessibility & contrast

On white

9.79
#532A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#532A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532A97
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532A97#FFFFFF#000000##FFFFFF
##532A971.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#40465D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532a97;
/* rgb */ color: rgb(83, 42, 151);
/* oklch */ color: oklch(40.5% 0.167 295.0);
Tailwind
colors: {
  custom: {
    50: '#8a67b6',
    500: '#532a97',
    950: '#000000',
  },
}
SCSS
$custom: #532a97;
$custom-light: #8a67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532a97",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 262.569,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.16689,
    "h": 295
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#532A97
secondary
#99BB62
accent
#E048A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532A97

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

Preview Lab → · Contrast checker → · Palette generator →

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