#521367#521367

#521367 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.142 H 315.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#521367
RGBrgb(82, 19, 103)
HSLhsl(285, 69%, 24%)
HSVhsv(285, 82%, 40%)
CMYKcmyk(20.4%, 81.6%, 0%, 59.6%)
CIE-LABlab(20.98, 41.46, -35.06)
CIE-LCHlch(20.98, 54.29, 319.78°)
OKLaboklab(33.73% 0.1019 -0.0989)
OKLCHoklch(33.73% 0.142 315.9)
XYZxyz(6.1603, 3.2391, 13.1300)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521367 #286713
analogous
#281367 #521367 #671352
triadic
#521367 #675213 #136752
tetradic
#521367 #672813 #286713 #135267
square
#521367 #672813 #286713 #135267
split-complementary
#521367 #526713 #136728
monochromatic
#15051A #290933 #521367 #7B1D9B #A426CE

Accessibility & contrast

On white

12.74
#521367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521367
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521367#FFFFFF#000000##FFFFFF
##5213671.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#50263D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521367;
/* rgb */ color: rgb(82, 19, 103);
/* oklch */ color: oklch(33.7% 0.142 315.9);
Tailwind
colors: {
  custom: {
    50: '#865993',
    500: '#521367',
    950: '#000000',
  },
}
SCSS
$custom: #521367;
$custom-light: #865993;
$custom-dark: #000000;
JSON
{
  "hex": "#521367",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 285,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3373,
    "c": 0.14197,
    "h": 315.9
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#521367
secondary
#519E37
accent
#EC3C68
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521367

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

Preview Lab → · Contrast checker → · Palette generator →

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