#521464#521464

#521464 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.138 H 317.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#521464
RGBrgb(82, 20, 100)
HSLhsl(287, 67%, 24%)
HSVhsv(287, 80%, 39%)
CMYKcmyk(18%, 80%, 0%, 60.8%)
CIE-LABlab(20.88, 40.43, -33.24)
CIE-LCHlch(20.88, 52.34, 320.58°)
OKLaboklab(33.59% 0.1014 -0.0935)
OKLCHoklch(33.59% 0.138 317.3)
XYZxyz(6.0297, 3.2145, 12.3570)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521464 #266414
analogous
#2A1464 #521464 #64144E
triadic
#521464 #645214 #146452
tetradic
#521464 #642A14 #266414 #144E64
square
#521464 #642A14 #266414 #144E64
split-complementary
#521464 #4E6414 #14642A
monochromatic
#15051A #280A31 #521464 #7C1E97 #A628CA

Accessibility & contrast

On white

12.78
#521464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#521464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521464
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521464#FFFFFF#000000##FFFFFF
##5214641.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#163462
Tritanopia (blue-blind)
#51253B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521464;
/* rgb */ color: rgb(82, 20, 100);
/* oklch */ color: oklch(33.6% 0.138 317.3);
Tailwind
colors: {
  custom: {
    50: '#865991',
    500: '#521464',
    950: '#000000',
  },
}
SCSS
$custom: #521464;
$custom-light: #865991;
$custom-dark: #000000;
JSON
{
  "hex": "#521464",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 286.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.13796,
    "h": 317.3
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#521464
secondary
#4F9B38
accent
#EA3E65
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #521464

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

Preview Lab → · Contrast checker → · Palette generator →

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