#522367#522367

#522367 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.6% C 0.120 H 313.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#522367
RGBrgb(82, 35, 103)
HSLhsl(281, 49%, 27%)
HSVhsv(281, 66%, 40%)
CMYKcmyk(20.4%, 66%, 0%, 59.6%)
CIE-LABlab(23.59, 34.12, -30.86)
CIE-LCHlch(23.59, 46.01, 317.88°)
OKLaboklab(35.6% 0.0833 -0.0867)
OKLCHoklch(35.6% 0.12 313.9)
XYZxyz(6.5285, 3.9754, 13.2528)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522367 #386723
analogous
#302367 #522367 #67235A
triadic
#522367 #675223 #236752
tetradic
#522367 #673023 #386723 #235A67
square
#522367 #673023 #386723 #235A67
split-complementary
#522367 #5A6723 #236730
monochromatic
#120817 #2E1339 #522367 #763395 #9A45C0

Accessibility & contrast

On white

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

On black

1.80
#522367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##522367#FFFFFF#000000##FFFFFF
##5223671.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093669
Deuteranopia (green-blind)
#203965
Tritanopia (blue-blind)
#503041
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522367;
/* rgb */ color: rgb(82, 35, 103);
/* oklch */ color: oklch(35.6% 0.120 313.9);
Tailwind
colors: {
  custom: {
    50: '#856193',
    500: '#522367',
    950: '#000000',
  },
}
SCSS
$custom: #522367;
$custom-light: #856193;
$custom-dark: #000000;
JSON
{
  "hex": "#522367",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 281.471,
    "s": 49.275,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35599,
    "c": 0.1202,
    "h": 313.9
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#522367
secondary
#649B4B
accent
#D94F7A
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #522367

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

Preview Lab → · Contrast checker → · Palette generator →

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