#521458#521458

#521458 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.127 H 324.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#521458
RGBrgb(82, 20, 88)
HSLhsl(295, 63%, 21%)
HSVhsv(295, 77%, 35%)
CMYKcmyk(6.8%, 77.3%, 0%, 65.5%)
CIE-LABlab(20.04, 37.94, -26.63)
CIE-LCHlch(20.04, 46.36, 324.94°)
OKLaboklab(32.72% 0.1025 -0.0742)
OKLCHoklch(32.72% 0.127 324.1)
XYZxyz(5.4911, 2.9991, 9.5203)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521458 #1A5814
analogous
#301458 #521458 #58143C
triadic
#521458 #585214 #145852
tetradic
#521458 #583014 #1A5814 #143C58
square
#521458 #583014 #1A5814 #143C58
split-complementary
#521458 #3C5814 #145830
monochromatic
#170619 #240926 #521458 #801F8A #AF2BBC

Accessibility & contrast

On white

13.13
#521458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#521458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521458
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521458#FFFFFF#000000##FFFFFF
##5214581.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012C5A
Deuteranopia (green-blind)
#203356
Tritanopia (blue-blind)
#542034
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521458;
/* rgb */ color: rgb(82, 20, 88);
/* oklch */ color: oklch(32.7% 0.127 324.1);
Tailwind
colors: {
  custom: {
    50: '#855987',
    500: '#521458',
    950: '#000000',
  },
}
SCSS
$custom: #521458;
$custom-light: #855987;
$custom-dark: #000000;
JSON
{
  "hex": "#521458",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 294.706,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.12653,
    "h": 324.1
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#521458
secondary
#409038
accent
#E64250
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521458

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

Preview Lab → · Contrast checker → · Palette generator →

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