#532D97#532D97

#532D97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.163 H 294.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#532D97
RGBrgb(83, 45, 151)
HSLhsl(262, 54%, 38%)
HSVhsv(262, 70%, 59%)
CMYKcmyk(45%, 70.2%, 0%, 40.8%)
CIE-LABlab(29.29, 41.55, -51.90)
CIE-LCHlch(29.29, 66.49, 308.68°)
OKLaboklab(40.87% 0.0676 -0.1485)
OKLCHoklch(40.87% 0.163 294.5)
XYZxyz(10.0901, 5.9499, 29.8890)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D97 #71972D
analogous
#2D3C97 #532D97 #882D97
triadic
#532D97 #97532D #2D9753
tetradic
#532D97 #972D3C #71972D #2D9788
square
#532D97 #972D3C #71972D #2D9788
split-complementary
#532D97 #97882D #3C972D
monochromatic
#1F1139 #391F68 #532D97 #6D3CC5 #916BD3

Accessibility & contrast

On white

9.59
#532D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#532D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D97
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D97#FFFFFF#000000##FFFFFF
##532D971.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#40475E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532d97;
/* rgb */ color: rgb(83, 45, 151);
/* oklch */ color: oklch(40.9% 0.163 294.5);
Tailwind
colors: {
  custom: {
    50: '#8a69b6',
    500: '#532d97',
    950: '#000000',
  },
}
SCSS
$custom: #532d97;
$custom-light: #8a69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532d97",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 261.509,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.16316,
    "h": 294.5
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#532D97
secondary
#9CBA66
accent
#DD4AA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532D97

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

Preview Lab → · Contrast checker → · Palette generator →

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