#532C97#532C97

#532C97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.164 H 294.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#532C97
RGBrgb(83, 44, 151)
HSLhsl(262, 55%, 38%)
HSVhsv(262, 71%, 59%)
CMYKcmyk(45%, 70.9%, 0%, 40.8%)
CIE-LABlab(29.09, 42.09, -52.22)
CIE-LCHlch(29.09, 67.06, 308.87°)
OKLaboklab(40.73% 0.0686 -0.1494)
OKLCHoklch(40.73% 0.164 294.7)
XYZxyz(10.0524, 5.8745, 29.8764)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C97 #70972C
analogous
#2C3A97 #532C97 #882C97
triadic
#532C97 #97532C #2C9753
tetradic
#532C97 #972C3A #70972C #2C9788
square
#532C97 #972C3A #70972C #2C9788
split-complementary
#532C97 #97882C #3A972C
monochromatic
#1F1038 #391E68 #532C97 #6D3AC6 #906AD4

Accessibility & contrast

On white

9.66
#532C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#532C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C97
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C97#FFFFFF#000000##FFFFFF
##532C971.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.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: #532c97;
/* rgb */ color: rgb(83, 44, 151);
/* oklch */ color: oklch(40.7% 0.164 294.7);
Tailwind
colors: {
  custom: {
    50: '#8a68b6',
    500: '#532c97',
    950: '#000000',
  },
}
SCSS
$custom: #532c97;
$custom-light: #8a68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532c97",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 261.869,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.16442,
    "h": 294.7
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#532C97
secondary
#9BBA65
accent
#DE4AA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532C97

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

Preview Lab → · Contrast checker → · Palette generator →

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