#520E53#520E53

#520E53 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.129 H 327.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#520E53
RGBrgb(82, 14, 83)
HSLhsl(299, 71%, 19%)
HSVhsv(299, 83%, 33%)
CMYKcmyk(1.2%, 83.1%, 0%, 67.5%)
CIE-LABlab(18.94, 39.18, -25.02)
CIE-LCHlch(18.94, 46.49, 327.44°)
OKLaboklab(31.83% 0.1088 -0.0695)
OKLCHoklch(31.83% 0.129 327.4)
XYZxyz(5.1980, 2.7328, 8.4356)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E53 #0F530E
analogous
#300E53 #520E53 #530E32
triadic
#520E53 #53520E #0E5352
tetradic
#520E53 #53300E #0F530E #0E3253
square
#520E53 #53300E #0F530E #0E3253
split-complementary
#520E53 #32530E #0E5330
monochromatic
#1A041A #1E051F #520E53 #861787 #B920BC

Accessibility & contrast

On white

13.58
#520E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#520E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E53
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E53#FFFFFF#000000##FFFFFF
##520E531.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002955
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#551A30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #520e53;
/* rgb */ color: rgb(82, 14, 83);
/* oklch */ color: oklch(31.8% 0.129 327.4);
Tailwind
colors: {
  custom: {
    50: '#855684',
    500: '#520e53',
    950: '#000000',
  },
}
SCSS
$custom: #520e53;
$custom-light: #855684;
$custom-dark: #000000;
JSON
{
  "hex": "#520e53",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 299.13,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31832,
    "c": 0.12909,
    "h": 327.4
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#520E53
secondary
#318D2F
accent
#EE3A3D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #520E53

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

Preview Lab → · Contrast checker → · Palette generator →

#520E53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva