#521467#521467

#521467 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.141 H 315.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#521467
RGBrgb(82, 20, 103)
HSLhsl(285, 67%, 24%)
HSVhsv(285, 81%, 40%)
CMYKcmyk(20.4%, 80.6%, 0%, 59.6%)
CIE-LABlab(21.11, 41.08, -34.84)
CIE-LCHlch(21.11, 53.87, 319.70°)
OKLaboklab(33.82% 0.1009 -0.0982)
OKLCHoklch(33.82% 0.141 315.8)
XYZxyz(6.1776, 3.2737, 13.1358)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521467 #296714
analogous
#291467 #521467 #671453
triadic
#521467 #675214 #146752
tetradic
#521467 #672914 #296714 #145367
square
#521467 #672914 #296714 #145367
split-complementary
#521467 #536714 #146729
monochromatic
#14051A #290A34 #521467 #7B1E9A #A428CD

Accessibility & contrast

On white

12.69
#521467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#521467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521467
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521467#FFFFFF#000000##FFFFFF
##5214671.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#50273D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #521467;
/* rgb */ color: rgb(82, 20, 103);
/* oklch */ color: oklch(33.8% 0.141 315.8);
Tailwind
colors: {
  custom: {
    50: '#865993',
    500: '#521467',
    950: '#000000',
  },
}
SCSS
$custom: #521467;
$custom-light: #865993;
$custom-dark: #000000;
JSON
{
  "hex": "#521467",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 284.819,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33823,
    "c": 0.14086,
    "h": 315.8
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#521467
secondary
#529E39
accent
#EA3D69
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521467

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

Preview Lab → · Contrast checker → · Palette generator →

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