#52144C#52144C

#52144C is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.116 H 332.1°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#52144C
RGBrgb(82, 20, 76)
HSLhsl(306, 61%, 20%)
HSVhsv(306, 76%, 32%)
CMYKcmyk(0%, 75.6%, 7.3%, 67.8%)
CIE-LABlab(19.29, 35.65, -19.70)
CIE-LCHlch(19.29, 40.73, 331.07°)
OKLaboklab(31.95% 0.1022 -0.0541)
OKLCHoklch(31.95% 0.116 332.1)
XYZxyz(5.0343, 2.8164, 7.1145)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52144C #14521A
analogous
#391452 #52144C #52142D
triadic
#52144C #4C5214 #144C52
tetradic
#52144C #523914 #14521A #142D52
square
#52144C #523914 #14521A #142D52
split-complementary
#52144C #2D5214 #145239
monochromatic
#190617 #21081E #52144C #83207A #B42CA7

Accessibility & contrast

On white

13.43
#52144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52144C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52144C#FFFFFF#000000##FFFFFF
##52144C1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294E
Deuteranopia (green-blind)
#27324A
Tritanopia (blue-blind)
#561A2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #52144c;
/* rgb */ color: rgb(82, 20, 76);
/* oklch */ color: oklch(31.9% 0.116 332.1);
Tailwind
colors: {
  custom: {
    50: '#85587e',
    500: '#52144c',
    950: '#000000',
  },
}
SCSS
$custom: #52144c;
$custom-light: #85587e;
$custom-dark: #000000;
JSON
{
  "hex": "#52144c",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 305.806,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31945,
    "c": 0.11568,
    "h": 332.1
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#52144C
secondary
#388A40
accent
#E45344
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52144C

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

Preview Lab → · Contrast checker → · Palette generator →

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