#521361#521361

#521361 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.136 H 319.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#521361
RGBrgb(82, 19, 97)
HSLhsl(288, 67%, 23%)
HSVhsv(288, 80%, 38%)
CMYKcmyk(15.5%, 80.4%, 0%, 62%)
CIE-LABlab(20.53, 40.18, -31.83)
CIE-LCHlch(20.53, 51.26, 321.61°)
OKLaboklab(33.27% 0.1028 -0.0894)
OKLCHoklch(33.27% 0.136 319)
XYZxyz(5.8699, 3.1229, 11.6005)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521361 #226113
analogous
#2B1361 #521361 #611349
triadic
#521361 #615213 #136152
tetradic
#521361 #612B13 #226113 #134961
square
#521361 #612B13 #226113 #134961
split-complementary
#521361 #496113 #13612B
monochromatic
#16051A #27092E #521361 #7D1D94 #A927C7

Accessibility & contrast

On white

12.93
#521361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#521361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521361
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521361#FFFFFF#000000##FFFFFF
##5213611.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#18335F
Tritanopia (blue-blind)
#522339
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #521361;
/* rgb */ color: rgb(82, 19, 97);
/* oklch */ color: oklch(33.3% 0.136 319.0);
Tailwind
colors: {
  custom: {
    50: '#86598e',
    500: '#521361',
    950: '#000000',
  },
}
SCSS
$custom: #521361;
$custom-light: #86598e;
$custom-dark: #000000;
JSON
{
  "hex": "#521361",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 288.462,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33272,
    "c": 0.13623,
    "h": 319
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#521361
secondary
#4A9937
accent
#EA3E5F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #521361

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

Preview Lab → · Contrast checker → · Palette generator →

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