#522667#522667

#522667 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 36.0% C 0.115 H 313.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#522667
RGBrgb(82, 38, 103)
HSLhsl(281, 46%, 28%)
HSVhsv(281, 63%, 40%)
CMYKcmyk(20.4%, 63.1%, 0%, 59.6%)
CIE-LABlab(24.19, 32.49, -29.90)
CIE-LCHlch(24.19, 44.15, 317.38°)
OKLaboklab(36.04% 0.0791 -0.0839)
OKLCHoklch(36.04% 0.115 313.3)
XYZxyz(6.6206, 4.1595, 13.2834)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522667 #3B6726
analogous
#312667 #522667 #67265C
triadic
#522667 #675226 #266752
tetradic
#522667 #673126 #3B6726 #265C67
square
#522667 #673126 #3B6726 #265C67
split-complementary
#522667 #5C6726 #266731
monochromatic
#120816 #2E163A #522667 #763694 #984BBD

Accessibility & contrast

On white

11.46
#522667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#522667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522667
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522667#FFFFFF#000000##FFFFFF
##5226671.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113769
Deuteranopia (green-blind)
#233B65
Tritanopia (blue-blind)
#503242
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522667;
/* rgb */ color: rgb(82, 38, 103);
/* oklch */ color: oklch(36.0% 0.115 313.3);
Tailwind
colors: {
  custom: {
    50: '#856393',
    500: '#522667',
    950: '#000000',
  },
}
SCSS
$custom: #522667;
$custom-light: #856393;
$custom-dark: #000000;
JSON
{
  "hex": "#522667",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 280.615,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36036,
    "c": 0.1153,
    "h": 313.3
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#522667
secondary
#679A4F
accent
#D6527D
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #522667

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

Preview Lab → · Contrast checker → · Palette generator →

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