#52184C#52184C

#52184C is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.110 H 332.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#52184C
RGBrgb(82, 24, 76)
HSLhsl(306, 55%, 21%)
HSVhsv(306, 71%, 32%)
CMYKcmyk(0%, 70.7%, 7.3%, 67.8%)
CIE-LABlab(19.92, 33.89, -18.72)
CIE-LCHlch(19.92, 38.72, 331.09°)
OKLaboklab(32.4% 0.0971 -0.0513)
OKLCHoklch(32.4% 0.11 332.2)
XYZxyz(5.1108, 2.9693, 7.1400)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52184C #18521E
analogous
#3B1852 #52184C #52182F
triadic
#52184C #4C5218 #184C52
tetradic
#52184C #523B18 #18521E #182F52
square
#52184C #523B18 #18521E #182F52
split-complementary
#52184C #2F5218 #18523B
monochromatic
#180716 #230A20 #52184C #812678 #B134A4

Accessibility & contrast

On white

13.18
#52184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#52184C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52184C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52184C#FFFFFF#000000##FFFFFF
##52184C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4E
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#561D2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52184c;
/* rgb */ color: rgb(82, 24, 76);
/* oklch */ color: oklch(32.4% 0.110 332.2);
Tailwind
colors: {
  custom: {
    50: '#855a7e',
    500: '#52184c',
    950: '#000000',
  },
}
SCSS
$custom: #52184c;
$custom-light: #855a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#52184c",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 306.207,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32399,
    "c": 0.10986,
    "h": 332.2
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#52184C
secondary
#3D8945
accent
#DE594A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52184C

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

Preview Lab → · Contrast checker → · Palette generator →

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