#532173#532173

#532173 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.137 H 309.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#532173
RGBrgb(83, 33, 115)
HSLhsl(277, 55%, 29%)
HSVhsv(277, 71%, 45%)
CMYKcmyk(27.8%, 71.3%, 0%, 54.9%)
CIE-LABlab(24.21, 38.30, -37.61)
CIE-LCHlch(24.21, 53.67, 315.52°)
OKLaboklab(36.35% 0.0865 -0.1064)
OKLCHoklch(36.35% 0.137 309.1)
XYZxyz(7.2050, 4.1646, 16.6406)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532173 #417321
analogous
#2A2173 #532173 #73216A
triadic
#532173 #735321 #217353
tetradic
#532173 #732A21 #417321 #216A73
square
#532173 #732A21 #417321 #216A73
split-complementary
#532173 #6A7321 #21732A
monochromatic
#110718 #311343 #532173 #752FA3 #9645CA

Accessibility & contrast

On white

11.46
#532173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#532173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532173
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532173#FFFFFF#000000##FFFFFF
##5321731.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#113A71
Tritanopia (blue-blind)
#4E3347
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #532173;
/* rgb */ color: rgb(83, 33, 115);
/* oklch */ color: oklch(36.3% 0.137 309.1);
Tailwind
colors: {
  custom: {
    50: '#87619c',
    500: '#532173',
    950: '#000000',
  },
}
SCSS
$custom: #532173;
$custom-light: #87619c;
$custom-dark: #000000;
JSON
{
  "hex": "#532173",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 276.585,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36346,
    "c": 0.13711,
    "h": 309.1
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#532173
secondary
#6EA649
accent
#DF4983
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532173

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

Preview Lab → · Contrast checker → · Palette generator →

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