#522B65#522B65

#522B65 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.7% C 0.104 H 313.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#522B65
RGBrgb(82, 43, 101)
HSLhsl(280, 40%, 28%)
HSVhsv(280, 57%, 40%)
CMYKcmyk(18.8%, 57.4%, 0%, 60.4%)
CIE-LABlab(25.14, 29.13, -27.09)
CIE-LCHlch(25.14, 39.78, 317.08°)
OKLaboklab(36.69% 0.0717 -0.0757)
OKLCHoklch(36.69% 0.104 313.4)
XYZxyz(6.6921, 4.4614, 12.8180)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B65 #3E652B
analogous
#352B65 #522B65 #652B5B
triadic
#522B65 #65522B #2B6552
tetradic
#522B65 #65352B #3E652B #2B5B65
square
#522B65 #65352B #3E652B #2B5B65
split-complementary
#522B65 #5B652B #2B6535
monochromatic
#110915 #2F193A #522B65 #753D90 #9654B6

Accessibility & contrast

On white

11.10
#522B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#522B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B65
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B65#FFFFFF#000000##FFFFFF
##522B651.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3967
Deuteranopia (green-blind)
#293D64
Tritanopia (blue-blind)
#503543
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522b65;
/* rgb */ color: rgb(82, 43, 101);
/* oklch */ color: oklch(36.7% 0.104 313.4);
Tailwind
colors: {
  custom: {
    50: '#846691',
    500: '#522b65',
    950: '#000000',
  },
}
SCSS
$custom: #522b65;
$custom-light: #846691;
$custom-dark: #000000;
JSON
{
  "hex": "#522b65",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 280.345,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36691,
    "c": 0.10425,
    "h": 313.4
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#522B65
secondary
#6A9755
accent
#D0587F
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060D
muted
#7C7A7D

Preview Lab

Preview with #522B65

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

Preview Lab → · Contrast checker → · Palette generator →

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