#522065#522065

#522065 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.0% C 0.123 H 315.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#522065
RGBrgb(82, 32, 101)
HSLhsl(283, 52%, 26%)
HSVhsv(283, 68%, 40%)
CMYKcmyk(18.8%, 68.3%, 0%, 60.4%)
CIE-LABlab(22.88, 35.22, -30.68)
CIE-LCHlch(22.88, 46.71, 318.94°)
OKLaboklab(35.05% 0.0873 -0.0861)
OKLCHoklch(35.05% 0.123 315.4)
XYZxyz(6.3448, 3.7667, 12.7022)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522065 #336520
analogous
#2F2065 #522065 #652055
triadic
#522065 #655220 #206552
tetradic
#522065 #652F20 #336520 #205565
square
#522065 #652F20 #336520 #205565
split-complementary
#522065 #556520 #20652F
monochromatic
#130717 #2C1137 #522065 #782F93 #9D3EC2

Accessibility & contrast

On white

11.98
#522065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#522065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522065
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522065#FFFFFF#000000##FFFFFF
##5220651.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053467
Deuteranopia (green-blind)
#1F3863
Tritanopia (blue-blind)
#512D3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522065;
/* rgb */ color: rgb(82, 32, 101);
/* oklch */ color: oklch(35.0% 0.123 315.4);
Tailwind
colors: {
  custom: {
    50: '#855f91',
    500: '#522065',
    950: '#000000',
  },
}
SCSS
$custom: #522065;
$custom-light: #855f91;
$custom-dark: #000000;
JSON
{
  "hex": "#522065",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 283.478,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35046,
    "c": 0.12266,
    "h": 315.4
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#522065
secondary
#5E9948
accent
#DB4C74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #522065

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

Preview Lab → · Contrast checker → · Palette generator →

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