#520F69#520F69

#520F69 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.148 H 315.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#520F69
RGBrgb(82, 15, 105)
HSLhsl(285, 75%, 24%)
HSVhsv(285, 86%, 41%)
CMYKcmyk(21.9%, 85.7%, 0%, 58.8%)
CIE-LABlab(20.66, 43.27, -36.88)
CIE-LCHlch(20.66, 56.86, 319.56°)
OKLaboklab(33.55% 0.105 -0.1042)
OKLCHoklch(33.55% 0.148 315.2)
XYZxyz(6.1999, 3.1556, 13.6444)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F69 #26690F
analogous
#250F69 #520F69 #690F53
triadic
#520F69 #69520F #0F6952
tetradic
#520F69 #69250F #26690F #0F5369
square
#520F69 #69250F #26690F #0F5369
split-complementary
#520F69 #53690F #0F6925
monochromatic
#15041B #280733 #520F69 #7C179F #A61ED4

Accessibility & contrast

On white

12.88
#520F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#520F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F69
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F69#FFFFFF#000000##FFFFFF
##520F691.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#0A3367
Tritanopia (blue-blind)
#50253D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #520f69;
/* rgb */ color: rgb(82, 15, 105);
/* oklch */ color: oklch(33.6% 0.148 315.2);
Tailwind
colors: {
  custom: {
    50: '#865894',
    500: '#520f69',
    950: '#000000',
  },
}
SCSS
$custom: #520f69;
$custom-light: #865894;
$custom-dark: #000000;
JSON
{
  "hex": "#520f69",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 284.667,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33554,
    "c": 0.1479,
    "h": 315.2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#520F69
secondary
#4FA132
accent
#F23666
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #520F69

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

Preview Lab → · Contrast checker → · Palette generator →

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