#521967#521967

#521967 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.135 H 315.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#521967
RGBrgb(82, 25, 103)
HSLhsl(284, 61%, 25%)
HSVhsv(284, 76%, 40%)
CMYKcmyk(20.4%, 75.7%, 0%, 59.6%)
CIE-LABlab(21.83, 39.02, -33.68)
CIE-LCHlch(21.83, 51.55, 319.20°)
OKLaboklab(34.34% 0.0957 -0.0949)
OKLCHoklch(34.34% 0.135 315.3)
XYZxyz(6.2751, 3.4686, 13.1683)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521967 #2E6719
analogous
#2B1967 #521967 #671955
triadic
#521967 #675219 #196752
tetradic
#521967 #672B19 #2E6719 #195567
square
#521967 #672B19 #2E6719 #195567
split-complementary
#521967 #556719 #19672B
monochromatic
#140619 #2B0D36 #521967 #792598 #A031C9

Accessibility & contrast

On white

12.40
#521967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#521967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521967
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521967#FFFFFF#000000##FFFFFF
##5219671.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#173665
Tritanopia (blue-blind)
#50293E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521967;
/* rgb */ color: rgb(82, 25, 103);
/* oklch */ color: oklch(34.3% 0.135 315.3);
Tailwind
colors: {
  custom: {
    50: '#865c93',
    500: '#521967',
    950: '#000000',
  },
}
SCSS
$custom: #521967;
$custom-light: #865c93;
$custom-dark: #000000;
JSON
{
  "hex": "#521967",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 283.846,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.13477,
    "h": 315.3
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#521967
secondary
#589D3F
accent
#E4446F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521967

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

Preview Lab → · Contrast checker → · Palette generator →

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