#522C73#522C73

#522C73 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.8% C 0.120 H 306.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#522C73
RGBrgb(82, 44, 115)
HSLhsl(272, 45%, 31%)
HSVhsv(272, 62%, 45%)
CMYKcmyk(28.7%, 61.7%, 0%, 54.9%)
CIE-LABlab(26.25, 32.08, -34.32)
CIE-LCHlch(26.25, 46.98, 313.07°)
OKLaboklab(37.79% 0.0708 -0.0969)
OKLCHoklch(37.79% 0.12 306.2)
XYZxyz(7.4742, 4.8331, 16.7555)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C73 #4D732C
analogous
#2E2C73 #522C73 #732C70
triadic
#522C73 #73522C #2C7352
tetradic
#522C73 #732E2C #4D732C #2C7073
square
#522C73 #732E2C #4D732C #2C7073
split-complementary
#522C73 #70732C #2C732E
monochromatic
#130A1A #321B47 #522C73 #723D9F #905AC0

Accessibility & contrast

On white

10.68
#522C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#522C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C73
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C73#FFFFFF#000000##FFFFFF
##522C731.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#4D3A4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522c73;
/* rgb */ color: rgb(82, 44, 115);
/* oklch */ color: oklch(37.8% 0.120 306.2);
Tailwind
colors: {
  custom: {
    50: '#85679c',
    500: '#522c73',
    950: '#000000',
  },
}
SCSS
$custom: #522c73;
$custom-light: #85679c;
$custom-dark: #000000;
JSON
{
  "hex": "#522c73",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 272.113,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37794,
    "c": 0.11998,
    "h": 306.2
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#522C73
secondary
#7BA556
accent
#D4538F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522C73

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

Preview Lab → · Contrast checker → · Palette generator →

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