#522365#522365

#522365 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.5% C 0.118 H 314.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#522365
RGBrgb(82, 35, 101)
HSLhsl(283, 49%, 27%)
HSVhsv(283, 65%, 40%)
CMYKcmyk(18.8%, 65.3%, 0%, 60.4%)
CIE-LABlab(23.46, 33.65, -29.77)
CIE-LCHlch(23.46, 44.93, 318.50°)
OKLaboklab(35.46% 0.0833 -0.0835)
OKLCHoklch(35.46% 0.118 314.9)
XYZxyz(6.4293, 3.9357, 12.7304)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522365 #366523
analogous
#312365 #522365 #652357
triadic
#522365 #655223 #236552
tetradic
#522365 #653123 #366523 #235765
square
#522365 #653123 #366523 #235765
split-complementary
#522365 #576523 #236531
monochromatic
#120817 #2D1338 #522365 #773392 #9B44BE

Accessibility & contrast

On white

11.75
#522365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#522365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522365
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522365#FFFFFF#000000##FFFFFF
##5223651.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#512F40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522365;
/* rgb */ color: rgb(82, 35, 101);
/* oklch */ color: oklch(35.5% 0.118 314.9);
Tailwind
colors: {
  custom: {
    50: '#856191',
    500: '#522365',
    950: '#000000',
  },
}
SCSS
$custom: #522365;
$custom-light: #856191;
$custom-dark: #000000;
JSON
{
  "hex": "#522365",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 282.727,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35461,
    "c": 0.11792,
    "h": 314.9
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#522365
secondary
#61994B
accent
#D85077
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #522365

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

Preview Lab → · Contrast checker → · Palette generator →

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