#521455#521455

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

Color values

HEX#521455
RGBrgb(82, 20, 85)
HSLhsl(297, 62%, 21%)
HSVhsv(297, 76%, 33%)
CMYKcmyk(3.5%, 76.5%, 0%, 66.7%)
CIE-LABlab(19.84, 37.35, -24.93)
CIE-LCHlch(19.84, 44.91, 326.28°)
OKLaboklab(32.52% 0.1026 -0.0693)
OKLCHoklch(32.52% 0.124 326)
XYZxyz(5.3694, 2.9504, 8.8792)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521455 #175514
analogous
#311455 #521455 #551437
triadic
#521455 #555214 #145552
tetradic
#521455 #553114 #175514 #143755
square
#521455 #553114 #175514 #143755
split-complementary
#521455 #375514 #145531
monochromatic
#180619 #220823 #521455 #822087 #B22BB8

Accessibility & contrast

On white

13.21
#521455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521455
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521455#FFFFFF#000000##FFFFFF
##5214551.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052B57
Deuteranopia (green-blind)
#223353
Tritanopia (blue-blind)
#541E33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521455;
/* rgb */ color: rgb(82, 20, 85);
/* oklch */ color: oklch(32.5% 0.124 326.0);
Tailwind
colors: {
  custom: {
    50: '#855985',
    500: '#521455',
    950: '#000000',
  },
}
SCSS
$custom: #521455;
$custom-light: #855985;
$custom-dark: #000000;
JSON
{
  "hex": "#521455",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 297.231,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.12375,
    "h": 326
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#521455
secondary
#3C8D38
accent
#E5434A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521455

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

Preview Lab → · Contrast checker → · Palette generator →

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