#522E5F#522E5F

#522E5F is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.8% C 0.091 H 316.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#522E5F
RGBrgb(82, 46, 95)
HSLhsl(284, 35%, 28%)
HSVhsv(284, 52%, 37%)
CMYKcmyk(13.7%, 51.6%, 0%, 62.7%)
CIE-LABlab(25.49, 25.88, -22.64)
CIE-LCHlch(25.49, 34.38, 318.83°)
OKLaboklab(36.83% 0.0663 -0.0628)
OKLCHoklch(36.83% 0.091 316.5)
XYZxyz(6.5219, 4.5743, 11.3636)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E5F #3B5F2E
analogous
#3A2E5F #522E5F #5F2E53
triadic
#522E5F #5F522E #2E5F52
tetradic
#522E5F #5F3A2E #3B5F2E #2E535F
square
#522E5F #5F3A2E #3B5F2E #2E535F
split-complementary
#522E5F #535F2E #2E5F3A
monochromatic
#120A15 #2E1A36 #522E5F #764288 #9859AF

Accessibility & contrast

On white

10.97
#522E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#522E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E5F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E5F#FFFFFF#000000##FFFFFF
##522E5F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#523542
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522e5f;
/* rgb */ color: rgb(82, 46, 95);
/* oklch */ color: oklch(36.8% 0.091 316.5);
Tailwind
colors: {
  custom: {
    50: '#84688c',
    500: '#522e5f',
    950: '#000000',
  },
}
SCSS
$custom: #522e5f;
$custom-light: #84688c;
$custom-dark: #000000;
JSON
{
  "hex": "#522e5f",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 284.082,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.09128,
    "h": 316.5
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#522E5F
secondary
#679158
accent
#CB5D7A
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #522E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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