#532971#532971

#532971 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.123 H 308.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#532971
RGBrgb(83, 41, 113)
HSLhsl(275, 47%, 30%)
HSVhsv(275, 64%, 44%)
CMYKcmyk(26.5%, 63.7%, 0%, 55.7%)
CIE-LABlab(25.62, 33.55, -34.06)
CIE-LCHlch(25.62, 47.81, 314.57°)
OKLaboklab(37.32% 0.0764 -0.096)
OKLCHoklch(37.32% 0.123 308.5)
XYZxyz(7.3403, 4.6172, 16.1241)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532971 #477129
analogous
#2F2971 #532971 #71296B
triadic
#532971 #715329 #297153
tetradic
#532971 #712F29 #477129 #296B71
square
#532971 #712F29 #477129 #296B71
split-complementary
#532971 #6B7129 #29712F
monochromatic
#110817 #321944 #532971 #74399E #9354C1

Accessibility & contrast

On white

10.92
#532971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#532971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532971
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532971#FFFFFF#000000##FFFFFF
##5329711.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#1E3D6F
Tritanopia (blue-blind)
#4F3749
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532971;
/* rgb */ color: rgb(83, 41, 113);
/* oklch */ color: oklch(37.3% 0.123 308.5);
Tailwind
colors: {
  custom: {
    50: '#86659a',
    500: '#532971',
    950: '#000000',
  },
}
SCSS
$custom: #532971;
$custom-light: #86659a;
$custom-dark: #000000;
JSON
{
  "hex": "#532971",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 275,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37315,
    "c": 0.1227,
    "h": 308.5
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#532971
secondary
#74A353
accent
#D65189
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #532971

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

Preview Lab → · Contrast checker → · Palette generator →

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