#52145B#52145B

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

Color values

HEX#52145B
RGBrgb(82, 20, 91)
HSLhsl(292, 64%, 22%)
HSVhsv(292, 78%, 36%)
CMYKcmyk(9.9%, 78%, 0%, 64.3%)
CIE-LABlab(20.24, 38.55, -28.31)
CIE-LCHlch(20.24, 47.83, 323.71°)
OKLaboklab(32.93% 0.1023 -0.0791)
OKLCHoklch(32.93% 0.129 322.3)
XYZxyz(5.6180, 3.0498, 10.1883)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52145B #1D5B14
analogous
#2F145B #52145B #5B1441
triadic
#52145B #5B5214 #145B52
tetradic
#52145B #5B2F14 #1D5B14 #14415B
square
#52145B #5B2F14 #1D5B14 #14415B
split-complementary
#52145B #415B14 #145B2F
monochromatic
#170619 #250929 #52145B #7F1F8D #AC2ABF

Accessibility & contrast

On white

13.05
#52145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52145B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52145B#FFFFFF#000000##FFFFFF
##52145B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52145b;
/* rgb */ color: rgb(82, 20, 91);
/* oklch */ color: oklch(32.9% 0.129 322.3);
Tailwind
colors: {
  custom: {
    50: '#85598a',
    500: '#52145b',
    950: '#000000',
  },
}
SCSS
$custom: #52145b;
$custom-light: #85598a;
$custom-dark: #000000;
JSON
{
  "hex": "#52145b",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 292.394,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32932,
    "c": 0.12935,
    "h": 322.3
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#52145B
secondary
#449338
accent
#E74156
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #52145B

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

Preview Lab → · Contrast checker → · Palette generator →

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