#521365#521365

#521365 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.140 H 316.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#521365
RGBrgb(82, 19, 101)
HSLhsl(286, 68%, 24%)
HSVhsv(286, 81%, 40%)
CMYKcmyk(18.8%, 81.2%, 0%, 60.4%)
CIE-LABlab(20.83, 41.03, -33.99)
CIE-LCHlch(20.83, 53.28, 320.36°)
OKLaboklab(33.58% 0.1022 -0.0957)
OKLCHoklch(33.58% 0.14 316.9)
XYZxyz(6.0612, 3.1994, 12.6077)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521365 #266513
analogous
#291365 #521365 #65134F
triadic
#521365 #655213 #136552
tetradic
#521365 #652913 #266513 #134F65
square
#521365 #652913 #266513 #134F65
split-complementary
#521365 #4F6513 #136529
monochromatic
#15051A #280931 #521365 #7C1D99 #A626CC

Accessibility & contrast

On white

12.81
#521365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#521365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521365
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521365#FFFFFF#000000##FFFFFF
##5213651.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#143463
Tritanopia (blue-blind)
#51253B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521365;
/* rgb */ color: rgb(82, 19, 101);
/* oklch */ color: oklch(33.6% 0.140 316.9);
Tailwind
colors: {
  custom: {
    50: '#865991',
    500: '#521365',
    950: '#000000',
  },
}
SCSS
$custom: #521365;
$custom-light: #865991;
$custom-dark: #000000;
JSON
{
  "hex": "#521365",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 286.098,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33575,
    "c": 0.14005,
    "h": 316.9
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#521365
secondary
#4F9D37
accent
#EB3D65
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521365

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

Preview Lab → · Contrast checker → · Palette generator →

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