#532497#532497

#532497 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.174 H 296.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#532497
RGBrgb(83, 36, 151)
HSLhsl(265, 61%, 37%)
HSVhsv(265, 76%, 59%)
CMYKcmyk(45%, 76.2%, 0%, 40.8%)
CIE-LABlab(27.67, 46.09, -54.54)
CIE-LCHlch(27.67, 71.41, 310.20°)
OKLaboklab(39.72% 0.0763 -0.1562)
OKLCHoklch(39.72% 0.174 296)
XYZxyz(9.7826, 5.3349, 29.7865)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532497 #689724
analogous
#242F97 #532497 #8D2497
triadic
#532497 #975324 #249753
tetradic
#532497 #97242F #689724 #24978D
square
#532497 #97242F #689724 #24978D
split-complementary
#532497 #978D24 #2F9724
monochromatic
#1D0C34 #381866 #532497 #6E30C8 #8F5DD8

Accessibility & contrast

On white

10.16
#532497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#532497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532497
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532497#FFFFFF#000000##FFFFFF
##5324971.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#40435C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532497;
/* rgb */ color: rgb(83, 36, 151);
/* oklch */ color: oklch(39.7% 0.174 296.0);
Tailwind
colors: {
  custom: {
    50: '#8a64b7',
    500: '#532497',
    950: '#000000',
  },
}
SCSS
$custom: #532497;
$custom-light: #8a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532497",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 264.522,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.17384,
    "h": 296
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#532497
secondary
#94BD5A
accent
#E543A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532497

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

Preview Lab → · Contrast checker → · Palette generator →

#532497 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva