#522379#522379

#522379 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.141 H 305.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#522379
RGBrgb(82, 35, 121)
HSLhsl(273, 55%, 31%)
HSVhsv(273, 71%, 47%)
CMYKcmyk(32.2%, 71.1%, 0%, 52.5%)
CIE-LABlab(24.88, 38.55, -40.36)
CIE-LCHlch(24.88, 55.81, 313.69°)
OKLaboklab(36.94% 0.0819 -0.1145)
OKLCHoklch(36.94% 0.141 305.6)
XYZxyz(7.5311, 4.3764, 18.5334)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522379 #4A7923
analogous
#272379 #522379 #792375
triadic
#522379 #795223 #237952
tetradic
#522379 #792723 #4A7923 #237579
square
#522379 #792723 #4A7923 #237579
split-complementary
#522379 #757923 #237927
monochromatic
#12081A #32154A #522379 #7231A8 #914BCB

Accessibility & contrast

On white

11.20
#522379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#522379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522379
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522379#FFFFFF#000000##FFFFFF
##5223791.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#4B364B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522379;
/* rgb */ color: rgb(82, 35, 121);
/* oklch */ color: oklch(36.9% 0.141 305.6);
Tailwind
colors: {
  custom: {
    50: '#8662a0',
    500: '#522379',
    950: '#000000',
  },
}
SCSS
$custom: #522379;
$custom-light: #8662a0;
$custom-dark: #000000;
JSON
{
  "hex": "#522379",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 272.791,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.14082,
    "h": 305.6
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#522379
secondary
#77AC4C
accent
#DE498D
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #522379

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

Preview Lab → · Contrast checker → · Palette generator →

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