#522751#522751

#522751 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.8% C 0.089 H 328.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#522751
RGBrgb(82, 39, 81)
HSLhsl(301, 36%, 24%)
HSVhsv(301, 52%, 32%)
CMYKcmyk(0%, 52.4%, 1.2%, 67.8%)
CIE-LABlab(23.13, 26.92, -17.07)
CIE-LCHlch(23.13, 31.88, 327.62°)
OKLaboklab(34.84% 0.0752 -0.0467)
OKLCHoklch(34.84% 0.089 328.1)
XYZxyz(5.6903, 3.8393, 8.2243)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522751 #275228
analogous
#3D2752 #522751 #52273B
triadic
#522751 #515227 #275152
tetradic
#522751 #523D27 #275228 #273B52
square
#522751 #523D27 #275228 #273B52
split-complementary
#522751 #3B5227 #27523D
monochromatic
#150A14 #291328 #522751 #7B3B7A #A54EA3

Accessibility & contrast

On white

11.88
#522751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#522751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522751
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522751#FFFFFF#000000##FFFFFF
##5227511.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#303950
Tritanopia (blue-blind)
#542B38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522751;
/* rgb */ color: rgb(82, 39, 81);
/* oklch */ color: oklch(34.8% 0.089 328.1);
Tailwind
colors: {
  custom: {
    50: '#846382',
    500: '#522751',
    950: '#000000',
  },
}
SCSS
$custom: #522751;
$custom-light: #846382;
$custom-dark: #000000;
JSON
{
  "hex": "#522751",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 301.395,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34844,
    "c": 0.08852,
    "h": 328.1
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#522751
secondary
#508551
accent
#CC5F5C
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B050A
muted
#7C7A7C

Preview Lab

Preview with #522751

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

Preview Lab → · Contrast checker → · Palette generator →

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