#532970#532970

#532970 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.121 H 308.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#532970
RGBrgb(83, 41, 112)
HSLhsl(275, 46%, 30%)
HSVhsv(275, 63%, 44%)
CMYKcmyk(25.9%, 63.4%, 0%, 56.1%)
CIE-LABlab(25.55, 33.30, -33.53)
CIE-LCHlch(25.55, 47.25, 314.80°)
OKLaboklab(37.24% 0.0764 -0.0945)
OKLCHoklch(37.24% 0.121 308.9)
XYZxyz(7.2843, 4.5948, 15.8293)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532970 #467029
analogous
#302970 #532970 #702969
triadic
#532970 #705329 #297053
tetradic
#532970 #703029 #467029 #296970
square
#532970 #703029 #467029 #296970
split-complementary
#532970 #697029 #297030
monochromatic
#110816 #321943 #532970 #74399D #9453C0

Accessibility & contrast

On white

10.94
#532970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532970
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532970#FFFFFF#000000##FFFFFF
##5329701.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B72
Deuteranopia (green-blind)
#1F3D6E
Tritanopia (blue-blind)
#4F3748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532970;
/* rgb */ color: rgb(83, 41, 112);
/* oklch */ color: oklch(37.2% 0.121 308.9);
Tailwind
colors: {
  custom: {
    50: '#866599',
    500: '#532970',
    950: '#000000',
  },
}
SCSS
$custom: #532970;
$custom-light: #866599;
$custom-dark: #000000;
JSON
{
  "hex": "#532970",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 275.493,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.37245,
    "c": 0.12149,
    "h": 308.9
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#532970
secondary
#73A253
accent
#D65288
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #532970

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

Preview Lab → · Contrast checker → · Palette generator →

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