#522373#522373

#522373 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.134 H 308.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#522373
RGBrgb(82, 35, 115)
HSLhsl(275, 53%, 29%)
HSVhsv(275, 70%, 45%)
CMYKcmyk(28.7%, 69.6%, 0%, 54.9%)
CIE-LABlab(24.43, 37.05, -37.26)
CIE-LCHlch(24.43, 52.54, 314.84°)
OKLaboklab(36.47% 0.0826 -0.1054)
OKLCHoklch(36.47% 0.134 308.1)
XYZxyz(7.1746, 4.2338, 16.6556)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522373 #447323
analogous
#2A2373 #522373 #73236C
triadic
#522373 #735223 #237352
tetradic
#522373 #732A23 #447323 #236C73
square
#522373 #732A23 #447323 #236C73
split-complementary
#522373 #6C7323 #23732A
monochromatic
#110717 #311544 #522373 #7331A2 #9349C8

Accessibility & contrast

On white

11.37
#522373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#522373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522373
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522373#FFFFFF#000000##FFFFFF
##5223731.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#133B71
Tritanopia (blue-blind)
#4D3448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522373;
/* rgb */ color: rgb(82, 35, 115);
/* oklch */ color: oklch(36.5% 0.134 308.1);
Tailwind
colors: {
  custom: {
    50: '#86629c',
    500: '#522373',
    950: '#000000',
  },
}
SCSS
$custom: #522373;
$custom-light: #86629c;
$custom-dark: #000000;
JSON
{
  "hex": "#522373",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 275.25,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.13393,
    "h": 308.1
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#522373
secondary
#71A64C
accent
#DD4B87
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #522373

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

Preview Lab → · Contrast checker → · Palette generator →

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