#522653#522653

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

Color values

HEX#522653
RGBrgb(82, 38, 83)
HSLhsl(299, 37%, 24%)
HSVhsv(299, 54%, 33%)
CMYKcmyk(1.2%, 54.2%, 0%, 67.5%)
CIE-LABlab(23.02, 27.93, -18.59)
CIE-LCHlch(23.02, 33.55, 326.35°)
OKLaboklab(34.79% 0.0772 -0.0511)
OKLCHoklch(34.79% 0.093 326.5)
XYZxyz(5.7340, 3.8049, 8.6143)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522653 #275326
analogous
#3B2653 #522653 #53263D
triadic
#522653 #535226 #265352
tetradic
#522653 #533B26 #275326 #263D53
square
#522653 #533B26 #275326 #263D53
split-complementary
#522653 #3D5326 #26533B
monochromatic
#150A15 #291329 #522653 #7B397D #A54CA7

Accessibility & contrast

On white

11.93
#522653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#522653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522653
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522653#FFFFFF#000000##FFFFFF
##5226531.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#2F3952
Tritanopia (blue-blind)
#542B38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522653;
/* rgb */ color: rgb(82, 38, 83);
/* oklch */ color: oklch(34.8% 0.093 326.5);
Tailwind
colors: {
  custom: {
    50: '#846283',
    500: '#522653',
    950: '#000000',
  },
}
SCSS
$custom: #522653;
$custom-light: #846283;
$custom-dark: #000000;
JSON
{
  "hex": "#522653",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 298.667,
    "s": 37.19,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.09256,
    "h": 326.5
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#522653
secondary
#50864F
accent
#CD5B5D
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #522653

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

Preview Lab → · Contrast checker → · Palette generator →

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