#522368#522368

#522368 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.7% C 0.121 H 313.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#522368
RGBrgb(82, 35, 104)
HSLhsl(281, 50%, 27%)
HSVhsv(281, 66%, 41%)
CMYKcmyk(21.2%, 66.3%, 0%, 59.2%)
CIE-LABlab(23.66, 34.36, -31.40)
CIE-LCHlch(23.66, 46.55, 317.58°)
OKLaboklab(35.67% 0.0833 -0.0883)
OKLCHoklch(35.67% 0.121 313.3)
XYZxyz(6.5790, 3.9956, 13.5187)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522368 #396823
analogous
#302368 #522368 #68235B
triadic
#522368 #685223 #236852
tetradic
#522368 #683023 #396823 #235B68
square
#522368 #683023 #396823 #235B68
split-complementary
#522368 #5B6823 #236830
monochromatic
#120817 #2E143A #522368 #763296 #9945C0

Accessibility & contrast

On white

11.67
#522368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522368
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522368#FFFFFF#000000##FFFFFF
##5223681.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#503042
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522368;
/* rgb */ color: rgb(82, 35, 104);
/* oklch */ color: oklch(35.7% 0.121 313.3);
Tailwind
colors: {
  custom: {
    50: '#856193',
    500: '#522368',
    950: '#000000',
  },
}
SCSS
$custom: #522368;
$custom-light: #856193;
$custom-dark: #000000;
JSON
{
  "hex": "#522368",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 280.87,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35669,
    "c": 0.12133,
    "h": 313.3
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#522368
secondary
#659B4B
accent
#D94F7B
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #522368

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

Preview Lab → · Contrast checker → · Palette generator →

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