#521051#521051

#521051 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.125 H 328.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#521051
RGBrgb(82, 16, 81)
HSLhsl(301, 67%, 19%)
HSVhsv(301, 80%, 32%)
CMYKcmyk(0%, 80.5%, 1.2%, 67.8%)
CIE-LABlab(19.05, 38.12, -23.49)
CIE-LCHlch(19.05, 44.78, 328.36°)
OKLaboklab(31.87% 0.1069 -0.065)
OKLCHoklch(31.87% 0.125 328.7)
XYZxyz(5.1501, 2.7589, 8.0443)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521051 #105211
analogous
#321052 #521051 #521030
triadic
#521051 #515210 #105152
tetradic
#521051 #523210 #105211 #103052
square
#521051 #523210 #105211 #103052
split-complementary
#521051 #305210 #105232
monochromatic
#1A0519 #1F061E #521051 #851A84 #B824B6

Accessibility & contrast

On white

13.53
#521051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521051
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521051#FFFFFF#000000##FFFFFF
##5210511.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052953
Deuteranopia (green-blind)
#23314F
Tritanopia (blue-blind)
#551A2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521051;
/* rgb */ color: rgb(82, 16, 81);
/* oklch */ color: oklch(31.9% 0.125 328.7);
Tailwind
colors: {
  custom: {
    50: '#855782',
    500: '#521051',
    950: '#000000',
  },
}
SCSS
$custom: #521051;
$custom-light: #855782;
$custom-dark: #000000;
JSON
{
  "hex": "#521051",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 300.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.12512,
    "h": 328.7
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#521051
secondary
#328C34
accent
#EA403E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #521051

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

Preview Lab → · Contrast checker → · Palette generator →

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