#521459#521459

#521459 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.127 H 323.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#521459
RGBrgb(82, 20, 89)
HSLhsl(294, 63%, 21%)
HSVhsv(294, 78%, 35%)
CMYKcmyk(7.9%, 77.5%, 0%, 65.1%)
CIE-LABlab(20.11, 38.14, -27.19)
CIE-LCHlch(20.11, 46.84, 324.52°)
OKLaboklab(32.79% 0.1025 -0.0758)
OKLCHoklch(32.79% 0.127 323.5)
XYZxyz(5.5328, 3.0158, 9.7399)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521459 #1B5914
analogous
#301459 #521459 #59143E
triadic
#521459 #595214 #145952
tetradic
#521459 #593014 #1B5914 #143E59
square
#521459 #593014 #1B5914 #143E59
split-complementary
#521459 #3E5914 #145930
monochromatic
#170619 #240927 #521459 #801F8B #AE2ABD

Accessibility & contrast

On white

13.10
#521459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#521459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521459
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521459#FFFFFF#000000##FFFFFF
##5214591.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#532035
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #521459;
/* rgb */ color: rgb(82, 20, 89);
/* oklch */ color: oklch(32.8% 0.127 323.5);
Tailwind
colors: {
  custom: {
    50: '#855988',
    500: '#521459',
    950: '#000000',
  },
}
SCSS
$custom: #521459;
$custom-light: #855988;
$custom-dark: #000000;
JSON
{
  "hex": "#521459",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 293.913,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.12747,
    "h": 323.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#521459
secondary
#419138
accent
#E64152
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521459

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

Preview Lab → · Contrast checker → · Palette generator →

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