#521450#521450

#521450 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.119 H 329.3°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#521450
RGBrgb(82, 20, 80)
HSLhsl(302, 61%, 20%)
HSVhsv(302, 76%, 32%)
CMYKcmyk(0%, 75.6%, 2.4%, 67.8%)
CIE-LABlab(19.53, 36.39, -22.05)
CIE-LCHlch(19.53, 42.55, 328.79°)
OKLaboklab(32.19% 0.1025 -0.0609)
OKLCHoklch(32.19% 0.119 329.3)
XYZxyz(5.1778, 2.8737, 7.8698)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521450 #145216
analogous
#351452 #521450 #521431
triadic
#521450 #505214 #145052
tetradic
#521450 #523514 #145216 #143152
square
#521450 #523514 #145216 #143152
split-complementary
#521450 #315214 #145235
monochromatic
#190618 #210820 #521450 #832080 #B42CB0

Accessibility & contrast

On white

13.34
#521450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521450
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521450#FFFFFF#000000##FFFFFF
##5214501.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2A52
Deuteranopia (green-blind)
#25324E
Tritanopia (blue-blind)
#551C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521450;
/* rgb */ color: rgb(82, 20, 80);
/* oklch */ color: oklch(32.2% 0.119 329.3);
Tailwind
colors: {
  custom: {
    50: '#855881',
    500: '#521450',
    950: '#000000',
  },
}
SCSS
$custom: #521450;
$custom-light: #855881;
$custom-dark: #000000;
JSON
{
  "hex": "#521450",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 301.935,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.11921,
    "h": 329.3
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#521450
secondary
#388A3A
accent
#E44944
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521450

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

Preview Lab → · Contrast checker → · Palette generator →

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