#521065#521065

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

Color values

HEX#521065
RGBrgb(82, 16, 101)
HSLhsl(287, 73%, 23%)
HSVhsv(287, 84%, 40%)
CMYKcmyk(18.8%, 84.2%, 0%, 60.4%)
CIE-LABlab(20.46, 42.09, -34.58)
CIE-LCHlch(20.46, 54.48, 320.59°)
OKLaboklab(33.32% 0.105 -0.0974)
OKLCHoklch(33.32% 0.143 317.1)
XYZxyz(6.0136, 3.1043, 12.5918)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521065 #236510
analogous
#271065 #521065 #65104D
triadic
#521065 #655210 #106552
tetradic
#521065 #652710 #236510 #104D65
square
#521065 #652710 #236510 #104D65
split-complementary
#521065 #4D6510 #106527
monochromatic
#15041A #270830 #521065 #7D189A #A821CF

Accessibility & contrast

On white

12.96
#521065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521065
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521065#FFFFFF#000000##FFFFFF
##5210651.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#113363
Tritanopia (blue-blind)
#51243B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #521065;
/* rgb */ color: rgb(82, 16, 101);
/* oklch */ color: oklch(33.3% 0.143 317.1);
Tailwind
colors: {
  custom: {
    50: '#865891',
    500: '#521065',
    950: '#000000',
  },
}
SCSS
$custom: #521065;
$custom-light: #865891;
$custom-dark: #000000;
JSON
{
  "hex": "#521065",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 286.588,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33315,
    "c": 0.14322,
    "h": 317.1
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#521065
secondary
#4B9D33
accent
#EF3861
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #521065

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

Preview Lab → · Contrast checker → · Palette generator →

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