#52145A#52145A

#52145A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.128 H 322.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#52145A
RGBrgb(82, 20, 90)
HSLhsl(293, 64%, 22%)
HSVhsv(293, 78%, 35%)
CMYKcmyk(8.9%, 77.8%, 0%, 64.7%)
CIE-LABlab(20.17, 38.35, -27.75)
CIE-LCHlch(20.17, 47.34, 324.11°)
OKLaboklab(32.86% 0.1024 -0.0775)
OKLCHoklch(32.86% 0.128 322.9)
XYZxyz(5.5751, 3.0327, 9.9626)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52145A #1C5A14
analogous
#2F145A #52145A #5A143F
triadic
#52145A #5A5214 #145A52
tetradic
#52145A #5A2F14 #1C5A14 #143F5A
square
#52145A #5A2F14 #1C5A14 #143F5A
split-complementary
#52145A #3F5A14 #145A2F
monochromatic
#170619 #240928 #52145A #801F8C #AD2ABE

Accessibility & contrast

On white

13.07
#52145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#52145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52145A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52145A#FFFFFF#000000##FFFFFF
##52145A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1F3358
Tritanopia (blue-blind)
#532136
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52145a;
/* rgb */ color: rgb(82, 20, 90);
/* oklch */ color: oklch(32.9% 0.128 322.9);
Tailwind
colors: {
  custom: {
    50: '#855989',
    500: '#52145a',
    950: '#000000',
  },
}
SCSS
$custom: #52145a;
$custom-light: #855989;
$custom-dark: #000000;
JSON
{
  "hex": "#52145a",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 293.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.12841,
    "h": 322.9
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#52145A
secondary
#429238
accent
#E74154
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #52145A

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

Preview Lab → · Contrast checker → · Palette generator →

#52145A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva