#522467#522467

#522467 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.7% C 0.119 H 313.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#522467
RGBrgb(82, 36, 103)
HSLhsl(281, 48%, 27%)
HSVhsv(281, 65%, 40%)
CMYKcmyk(20.4%, 65%, 0%, 59.6%)
CIE-LABlab(23.79, 33.58, -30.54)
CIE-LCHlch(23.79, 45.39, 317.71°)
OKLaboklab(35.74% 0.0819 -0.0858)
OKLCHoklch(35.74% 0.119 313.7)
XYZxyz(6.5583, 4.0351, 13.2627)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522467 #396724
analogous
#312467 #522467 #67245B
triadic
#522467 #675224 #246752
tetradic
#522467 #673124 #396724 #245B67
square
#522467 #673124 #396724 #245B67
split-complementary
#522467 #5B6724 #246731
monochromatic
#120817 #2E143A #522467 #763494 #9947BF

Accessibility & contrast

On white

11.62
#522467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522467
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522467#FFFFFF#000000##FFFFFF
##5224671.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3669
Deuteranopia (green-blind)
#213A65
Tritanopia (blue-blind)
#503042
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522467;
/* rgb */ color: rgb(82, 36, 103);
/* oklch */ color: oklch(35.7% 0.119 313.7);
Tailwind
colors: {
  custom: {
    50: '#856293',
    500: '#522467',
    950: '#000000',
  },
}
SCSS
$custom: #522467;
$custom-light: #856293;
$custom-dark: #000000;
JSON
{
  "hex": "#522467",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 281.194,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35742,
    "c": 0.11858,
    "h": 313.7
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#522467
secondary
#659A4C
accent
#D8507B
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #522467

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

Preview Lab → · Contrast checker → · Palette generator →

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