#532197#532197

#532197 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.177 H 296.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#532197
RGBrgb(83, 33, 151)
HSLhsl(265, 64%, 36%)
HSVhsv(265, 78%, 59%)
CMYKcmyk(45%, 78.1%, 0%, 40.8%)
CIE-LABlab(27.19, 47.47, -55.33)
CIE-LCHlch(27.19, 72.90, 310.63°)
OKLaboklab(39.38% 0.0789 -0.1585)
OKLCHoklch(39.38% 0.177 296.5)
XYZxyz(9.6956, 5.1609, 29.7575)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532197 #659721
analogous
#212A97 #532197 #8E2197
triadic
#532197 #975321 #219753
tetradic
#532197 #97212A #659721 #21978E
square
#532197 #97212A #659721 #21978E
split-complementary
#532197 #978E21 #2A9721
monochromatic
#1C0B33 #371665 #532197 #6F2CC9 #8F58DA

Accessibility & contrast

On white

10.33
#532197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#532197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532197
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532197#FFFFFF#000000##FFFFFF
##5321971.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#41415B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532197;
/* rgb */ color: rgb(83, 33, 151);
/* oklch */ color: oklch(39.4% 0.177 296.5);
Tailwind
colors: {
  custom: {
    50: '#8a62b7',
    500: '#532197',
    950: '#000000',
  },
}
SCSS
$custom: #532197;
$custom-light: #8a62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532197",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 265.424,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.17705,
    "h": 296.5
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#532197
secondary
#92BE55
accent
#E741A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532197

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

Preview Lab → · Contrast checker → · Palette generator →

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