#520F53#520F53

#520F53 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.128 H 327.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#520F53
RGBrgb(82, 15, 83)
HSLhsl(299, 69%, 19%)
HSVhsv(299, 82%, 33%)
CMYKcmyk(1.2%, 81.9%, 0%, 67.5%)
CIE-LABlab(19.06, 38.85, -24.83)
CIE-LCHlch(19.06, 46.10, 327.41°)
OKLaboklab(31.92% 0.1079 -0.0689)
OKLCHoklch(31.92% 0.128 327.4)
XYZxyz(5.2118, 2.7604, 8.4402)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F53 #10530F
analogous
#300F53 #520F53 #530F32
triadic
#520F53 #53520F #0F5352
tetradic
#520F53 #53300F #10530F #0F3253
square
#520F53 #53300F #10530F #0F3253
split-complementary
#520F53 #32530F #0F5330
monochromatic
#1A051A #1F061F #520F53 #851887 #B822BB

Accessibility & contrast

On white

13.53
#520F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F53
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F53#FFFFFF#000000##FFFFFF
##520F531.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520f53;
/* rgb */ color: rgb(82, 15, 83);
/* oklch */ color: oklch(31.9% 0.128 327.4);
Tailwind
colors: {
  custom: {
    50: '#855684',
    500: '#520f53',
    950: '#000000',
  },
}
SCSS
$custom: #520f53;
$custom-light: #855684;
$custom-dark: #000000;
JSON
{
  "hex": "#520f53",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 299.118,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31916,
    "c": 0.128,
    "h": 327.4
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#520F53
secondary
#328D31
accent
#EC3C3E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #520F53

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

Preview Lab → · Contrast checker → · Palette generator →

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