#521461#521461

#521461 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.135 H 318.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#521461
RGBrgb(82, 20, 97)
HSLhsl(288, 66%, 23%)
HSVhsv(288, 79%, 38%)
CMYKcmyk(15.5%, 79.4%, 0%, 62%)
CIE-LABlab(20.66, 39.80, -31.62)
CIE-LCHlch(20.66, 50.83, 321.54°)
OKLaboklab(33.37% 0.1018 -0.0888)
OKLCHoklch(33.37% 0.135 318.9)
XYZxyz(5.8872, 3.1575, 11.6063)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521461 #236114
analogous
#2C1461 #521461 #611449
triadic
#521461 #615214 #146152
tetradic
#521461 #612C14 #236114 #144961
square
#521461 #612C14 #236114 #144961
split-complementary
#521461 #496114 #14612C
monochromatic
#150519 #270A2E #521461 #7D1E94 #A829C6

Accessibility & contrast

On white

12.87
#521461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521461
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521461#FFFFFF#000000##FFFFFF
##5214611.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#19345F
Tritanopia (blue-blind)
#522439
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521461;
/* rgb */ color: rgb(82, 20, 97);
/* oklch */ color: oklch(33.4% 0.135 318.9);
Tailwind
colors: {
  custom: {
    50: '#86598e',
    500: '#521461',
    950: '#000000',
  },
}
SCSS
$custom: #521461;
$custom-light: #86598e;
$custom-dark: #000000;
JSON
{
  "hex": "#521461",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 288.312,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.13507,
    "h": 318.9
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#521461
secondary
#4B9838
accent
#E93F60
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #521461

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

Preview Lab → · Contrast checker → · Palette generator →

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