#522073#522073

#522073 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.138 H 308.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#522073
RGBrgb(82, 32, 115)
HSLhsl(276, 56%, 29%)
HSVhsv(276, 72%, 45%)
CMYKcmyk(28.7%, 72.2%, 0%, 54.9%)
CIE-LABlab(23.88, 38.56, -38.14)
CIE-LCHlch(23.88, 54.23, 315.32°)
OKLaboklab(36.08% 0.0862 -0.108)
OKLCHoklch(36.08% 0.138 308.6)
XYZxyz(7.0901, 4.0648, 16.6274)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522073 #417320
analogous
#292073 #522073 #73206B
triadic
#522073 #735220 #207352
tetradic
#522073 #732920 #417320 #206B73
square
#522073 #732920 #417320 #206B73
split-complementary
#522073 #6B7320 #207329
monochromatic
#110718 #301343 #522073 #742DA3 #9543CB

Accessibility & contrast

On white

11.58
#522073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#522073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522073
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522073#FFFFFF#000000##FFFFFF
##5220731.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#0E3971
Tritanopia (blue-blind)
#4D3247
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522073;
/* rgb */ color: rgb(82, 32, 115);
/* oklch */ color: oklch(36.1% 0.138 308.6);
Tailwind
colors: {
  custom: {
    50: '#86609c',
    500: '#522073',
    950: '#000000',
  },
}
SCSS
$custom: #522073;
$custom-light: #86609c;
$custom-dark: #000000;
JSON
{
  "hex": "#522073",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 276.145,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.13817,
    "h": 308.6
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#522073
secondary
#6EA748
accent
#E04884
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #522073

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

Preview Lab → · Contrast checker → · Palette generator →

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