#521454#521454

#521454 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.123 H 326.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#521454
RGBrgb(82, 20, 84)
HSLhsl(298, 62%, 20%)
HSVhsv(298, 76%, 33%)
CMYKcmyk(2.4%, 76.2%, 0%, 67.1%)
CIE-LABlab(19.78, 37.16, -24.36)
CIE-LCHlch(19.78, 44.43, 326.75°)
OKLaboklab(32.45% 0.1026 -0.0676)
OKLCHoklch(32.45% 0.123 326.6)
XYZxyz(5.3300, 2.9346, 8.6715)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521454 #165414
analogous
#321454 #521454 #541436
triadic
#521454 #545214 #145452
tetradic
#521454 #543214 #165414 #143654
square
#521454 #543214 #165414 #143654
split-complementary
#521454 #365414 #145432
monochromatic
#180619 #220823 #521454 #822085 #B32CB7

Accessibility & contrast

On white

13.23
#521454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#521454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521454
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521454#FFFFFF#000000##FFFFFF
##5214541.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072B56
Deuteranopia (green-blind)
#233352
Tritanopia (blue-blind)
#541E32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521454;
/* rgb */ color: rgb(82, 20, 84);
/* oklch */ color: oklch(32.5% 0.123 326.6);
Tailwind
colors: {
  custom: {
    50: '#855884',
    500: '#521454',
    950: '#000000',
  },
}
SCSS
$custom: #521454;
$custom-light: #855884;
$custom-dark: #000000;
JSON
{
  "hex": "#521454",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 298.125,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.12283,
    "h": 326.6
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#521454
secondary
#3A8C38
accent
#E54348
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521454

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

Preview Lab → · Contrast checker → · Palette generator →

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