#532097#532097

#532097 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.178 H 296.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#532097
RGBrgb(83, 32, 151)
HSLhsl(266, 65%, 36%)
HSVhsv(266, 79%, 59%)
CMYKcmyk(45%, 78.8%, 0%, 40.8%)
CIE-LABlab(27.04, 47.91, -55.58)
CIE-LCHlch(27.04, 73.38, 310.76°)
OKLaboklab(39.28% 0.0798 -0.1592)
OKLCHoklch(39.28% 0.178 296.6)
XYZxyz(9.6682, 5.1062, 29.7484)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532097 #649720
analogous
#202997 #532097 #8E2097
triadic
#532097 #975320 #209753
tetradic
#532097 #972029 #649720 #20978E
square
#532097 #972029 #649720 #20978E
split-complementary
#532097 #978E20 #299720
monochromatic
#1B0B32 #371564 #532097 #6F2BC9 #8F56DB

Accessibility & contrast

On white

10.39
#532097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#532097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532097
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532097#FFFFFF#000000##FFFFFF
##5320971.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532097;
/* rgb */ color: rgb(83, 32, 151);
/* oklch */ color: oklch(39.3% 0.178 296.6);
Tailwind
colors: {
  custom: {
    50: '#8a62b7',
    500: '#532097',
    950: '#000000',
  },
}
SCSS
$custom: #532097;
$custom-light: #8a62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532097",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 265.714,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.17806,
    "h": 296.6
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#532097
secondary
#91BF54
accent
#E840A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532097

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

Preview Lab → · Contrast checker → · Palette generator →

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