#521067#521067

#521067 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.5% C 0.145 H 316.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#521067
RGBrgb(82, 16, 103)
HSLhsl(286, 73%, 23%)
HSVhsv(286, 84%, 40%)
CMYKcmyk(20.4%, 84.5%, 0%, 59.6%)
CIE-LABlab(20.61, 42.52, -35.65)
CIE-LCHlch(20.61, 55.48, 320.02°)
OKLaboklab(33.47% 0.1046 -0.1006)
OKLCHoklch(33.47% 0.145 316.1)
XYZxyz(6.1128, 3.1439, 13.1142)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521067 #256710
analogous
#261067 #521067 #671050
triadic
#521067 #675210 #106752
tetradic
#521067 #672610 #256710 #105067
square
#521067 #672610 #256710 #105067
split-complementary
#521067 #506710 #106726
monochromatic
#15041A #280832 #521067 #7C189C #A620D1

Accessibility & contrast

On white

12.89
#521067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#521067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521067
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521067#FFFFFF#000000##FFFFFF
##5210671.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#0E3365
Tritanopia (blue-blind)
#51253C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521067;
/* rgb */ color: rgb(82, 16, 103);
/* oklch */ color: oklch(33.5% 0.145 316.1);
Tailwind
colors: {
  custom: {
    50: '#865893',
    500: '#521067',
    950: '#000000',
  },
}
SCSS
$custom: #521067;
$custom-light: #865893;
$custom-dark: #000000;
JSON
{
  "hex": "#521067",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 285.517,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33473,
    "c": 0.14508,
    "h": 316.1
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#521067
secondary
#4D9F33
accent
#F03864
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #521067

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

Preview Lab → · Contrast checker → · Palette generator →

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