#521452#521452

#521452 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.121 H 327.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#521452
RGBrgb(82, 20, 82)
HSLhsl(300, 61%, 20%)
HSVhsv(300, 76%, 32%)
CMYKcmyk(0%, 75.6%, 0%, 67.8%)
CIE-LABlab(19.65, 36.77, -23.21)
CIE-LCHlch(19.65, 43.48, 327.74°)
OKLaboklab(32.32% 0.1026 -0.0642)
OKLCHoklch(32.32% 0.121 327.9)
XYZxyz(5.2528, 2.9037, 8.2648)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521452 #145214
analogous
#331452 #521452 #521433
triadic
#521452 #525214 #145252
tetradic
#521452 #523314 #145214 #143352
square
#521452 #523314 #145214 #143352
split-complementary
#521452 #335214 #145233
monochromatic
#190619 #210821 #521452 #832083 #B42CB4

Accessibility & contrast

On white

13.29
#521452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521452
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521452#FFFFFF#000000##FFFFFF
##5214521.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2A54
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#551D31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521452;
/* rgb */ color: rgb(82, 20, 82);
/* oklch */ color: oklch(32.3% 0.121 327.9);
Tailwind
colors: {
  custom: {
    50: '#855883',
    500: '#521452',
    950: '#000000',
  },
}
SCSS
$custom: #521452;
$custom-light: #855883;
$custom-dark: #000000;
JSON
{
  "hex": "#521452",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.12101,
    "h": 327.9
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#521452
secondary
#388A38
accent
#E44444
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521452

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

Preview Lab → · Contrast checker → · Palette generator →

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