#522C70#522C70

#522C70 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.6% C 0.116 H 307.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#522C70
RGBrgb(82, 44, 112)
HSLhsl(274, 44%, 31%)
HSVhsv(274, 61%, 44%)
CMYKcmyk(26.8%, 60.7%, 0%, 56.1%)
CIE-LABlab(26.05, 31.31, -32.73)
CIE-LCHlch(26.05, 45.29, 313.73°)
OKLaboklab(37.59% 0.0708 -0.0922)
OKLCHoklch(37.59% 0.116 307.5)
XYZxyz(7.3044, 4.7651, 15.8611)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C70 #4A702C
analogous
#302C70 #522C70 #702C6C
triadic
#522C70 #70522C #2C7052
tetradic
#522C70 #70302C #4A702C #2C6C70
square
#522C70 #70302C #4A702C #2C6C70
split-complementary
#522C70 #6C702C #2C7030
monochromatic
#120918 #321B44 #522C70 #723D9C #9159BE

Accessibility & contrast

On white

10.75
#522C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#522C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C70
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C70#FFFFFF#000000##FFFFFF
##522C701.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#223E6E
Tritanopia (blue-blind)
#4D3949
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522c70;
/* rgb */ color: rgb(82, 44, 112);
/* oklch */ color: oklch(37.6% 0.116 307.5);
Tailwind
colors: {
  custom: {
    50: '#856799',
    500: '#522c70',
    950: '#000000',
  },
}
SCSS
$custom: #522c70;
$custom-light: #856799;
$custom-dark: #000000;
JSON
{
  "hex": "#522c70",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 273.529,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.11621,
    "h": 307.5
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#522C70
secondary
#77A256
accent
#D3548C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522C70

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

Preview Lab → · Contrast checker → · Palette generator →

#522C70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva