#522763#522763

#522763 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.9% C 0.109 H 315.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#522763
RGBrgb(82, 39, 99)
HSLhsl(283, 43%, 27%)
HSVhsv(283, 61%, 39%)
CMYKcmyk(17.2%, 60.6%, 0%, 61.2%)
CIE-LABlab(24.15, 30.97, -27.36)
CIE-LCHlch(24.15, 41.32, 318.54°)
OKLaboklab(35.92% 0.0775 -0.0765)
OKLCHoklch(35.92% 0.109 315.4)
XYZxyz(6.4570, 4.1459, 12.2621)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522763 #386327
analogous
#342763 #522763 #632756
triadic
#522763 #635227 #276352
tetradic
#522763 #633427 #386327 #275663
square
#522763 #633427 #386327 #275663
split-complementary
#522763 #566327 #276334
monochromatic
#120916 #2E1637 #522763 #76388F #9A4CB8

Accessibility & contrast

On white

11.48
#522763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#522763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522763
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522763#FFFFFF#000000##FFFFFF
##5227631.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173765
Deuteranopia (green-blind)
#273B61
Tritanopia (blue-blind)
#513141
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522763;
/* rgb */ color: rgb(82, 39, 99);
/* oklch */ color: oklch(35.9% 0.109 315.4);
Tailwind
colors: {
  custom: {
    50: '#846390',
    500: '#522763',
    950: '#000000',
  },
}
SCSS
$custom: #522763;
$custom-light: #846390;
$custom-dark: #000000;
JSON
{
  "hex": "#522763",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 283,
    "s": 43.478,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.1089,
    "h": 315.4
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#522763
secondary
#649650
accent
#D35578
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #522763

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

Preview Lab → · Contrast checker → · Palette generator →

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