#52184E#52184E

#52184E is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.112 H 330.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#52184E
RGBrgb(82, 24, 78)
HSLhsl(304, 55%, 21%)
HSVhsv(304, 71%, 32%)
CMYKcmyk(0%, 70.7%, 4.9%, 67.8%)
CIE-LABlab(20.03, 34.27, -19.90)
CIE-LCHlch(20.03, 39.63, 329.85°)
OKLaboklab(32.52% 0.0974 -0.0547)
OKLCHoklch(32.52% 0.112 330.7)
XYZxyz(5.1814, 2.9975, 7.5119)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52184E #18521C
analogous
#391852 #52184E #521831
triadic
#52184E #4E5218 #184E52
tetradic
#52184E #523918 #18521C #183152
square
#52184E #523918 #18521C #183152
split-complementary
#52184E #315218 #185239
monochromatic
#180717 #230A21 #52184E #81267B #B134A8

Accessibility & contrast

On white

13.13
#52184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#52184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52184E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52184E#FFFFFF#000000##FFFFFF
##52184E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#28334C
Tritanopia (blue-blind)
#551E30
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52184e;
/* rgb */ color: rgb(82, 24, 78);
/* oklch */ color: oklch(32.5% 0.112 330.7);
Tailwind
colors: {
  custom: {
    50: '#855a80',
    500: '#52184e',
    950: '#000000',
  },
}
SCSS
$custom: #52184e;
$custom-light: #855a80;
$custom-dark: #000000;
JSON
{
  "hex": "#52184e",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 304.138,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32518,
    "c": 0.11167,
    "h": 330.7
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#52184E
secondary
#3D8942
accent
#DE544A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52184E

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

Preview Lab → · Contrast checker → · Palette generator →

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