#522951#522951

#522951 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.2% C 0.085 H 328.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#522951
RGBrgb(82, 41, 81)
HSLhsl(301, 33%, 24%)
HSVhsv(301, 50%, 32%)
CMYKcmyk(0%, 50%, 1.2%, 67.8%)
CIE-LABlab(23.59, 25.74, -16.37)
CIE-LCHlch(23.59, 30.51, 327.55°)
OKLaboklab(35.18% 0.0718 -0.0447)
OKLCHoklch(35.18% 0.085 328.1)
XYZxyz(5.7577, 3.9741, 8.2468)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522951 #29522A
analogous
#3F2952 #522951 #52293D
triadic
#522951 #515229 #295152
tetradic
#522951 #523F29 #29522A #293D52
square
#522951 #523F29 #29522A #293D52
split-complementary
#522951 #3D5229 #29523F
monochromatic
#140A14 #291529 #522951 #7B3D79 #A452A2

Accessibility & contrast

On white

11.70
#522951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#522951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522951
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522951#FFFFFF#000000##FFFFFF
##5229511.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263552
Deuteranopia (green-blind)
#323A50
Tritanopia (blue-blind)
#542D39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522951;
/* rgb */ color: rgb(82, 41, 81);
/* oklch */ color: oklch(35.2% 0.085 328.1);
Tailwind
colors: {
  custom: {
    50: '#846482',
    500: '#522951',
    950: '#000000',
  },
}
SCSS
$custom: #522951;
$custom-light: #846482;
$custom-dark: #000000;
JSON
{
  "hex": "#522951",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 301.463,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3518,
    "c": 0.08464,
    "h": 328.1
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#522951
secondary
#528454
accent
#C9615E
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B050A
muted
#7C7A7C

Preview Lab

Preview with #522951

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

Preview Lab → · Contrast checker → · Palette generator →

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