#52144A#52144A

#52144A is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 333.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#52144A
RGBrgb(82, 20, 74)
HSLhsl(308, 61%, 20%)
HSVhsv(308, 76%, 32%)
CMYKcmyk(0%, 75.6%, 9.8%, 67.8%)
CIE-LABlab(19.18, 35.29, -18.52)
CIE-LCHlch(19.18, 39.85, 332.31°)
OKLaboklab(31.83% 0.1021 -0.0507)
OKLCHoklch(31.83% 0.114 333.6)
XYZxyz(4.9659, 2.7890, 6.7540)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52144A #14521C
analogous
#3B1452 #52144A #52142B
triadic
#52144A #4A5214 #144A52
tetradic
#52144A #523B14 #14521C #142B52
square
#52144A #523B14 #14521C #142B52
split-complementary
#52144A #2B5214 #14523B
monochromatic
#190616 #21081E #52144A #832076 #B42CA3

Accessibility & contrast

On white

13.48
#52144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#52144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52144A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52144A#FFFFFF#000000##FFFFFF
##52144A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294C
Deuteranopia (green-blind)
#283248
Tritanopia (blue-blind)
#56192D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #52144a;
/* rgb */ color: rgb(82, 20, 74);
/* oklch */ color: oklch(31.8% 0.114 333.6);
Tailwind
colors: {
  custom: {
    50: '#85587c',
    500: '#52144a',
    950: '#000000',
  },
}
SCSS
$custom: #52144a;
$custom-light: #85587c;
$custom-dark: #000000;
JSON
{
  "hex": "#52144a",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 307.742,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.11397,
    "h": 333.6
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#52144A
secondary
#388A42
accent
#E45944
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #52144A

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

Preview Lab → · Contrast checker → · Palette generator →

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