#522372#522372

#522372 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.133 H 308.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#522372
RGBrgb(82, 35, 114)
HSLhsl(276, 53%, 29%)
HSVhsv(276, 69%, 45%)
CMYKcmyk(28.1%, 69.3%, 0%, 55.3%)
CIE-LABlab(24.36, 36.80, -36.73)
CIE-LCHlch(24.36, 51.99, 315.05°)
OKLaboklab(36.4% 0.0827 -0.1039)
OKLCHoklch(36.4% 0.133 308.5)
XYZxyz(7.1174, 4.2109, 16.3542)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522372 #437223
analogous
#2B2372 #522372 #72236B
triadic
#522372 #725223 #237252
tetradic
#522372 #722B23 #437223 #236B72
square
#522372 #722B23 #437223 #236B72
split-complementary
#522372 #6B7223 #23722B
monochromatic
#110717 #301543 #522372 #7431A1 #9448C7

Accessibility & contrast

On white

11.40
#522372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#522372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522372
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522372#FFFFFF#000000##FFFFFF
##5223721.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#4D3447
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522372;
/* rgb */ color: rgb(82, 35, 114);
/* oklch */ color: oklch(36.4% 0.133 308.5);
Tailwind
colors: {
  custom: {
    50: '#86629b',
    500: '#522372',
    950: '#000000',
  },
}
SCSS
$custom: #522372;
$custom-light: #86629b;
$custom-dark: #000000;
JSON
{
  "hex": "#522372",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 275.696,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36398,
    "c": 0.13278,
    "h": 308.5
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#522372
secondary
#70A54C
accent
#DC4B86
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #522372

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

Preview Lab → · Contrast checker → · Palette generator →

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