#52114A#52114A

#52114A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.118 H 333.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#52114A
RGBrgb(82, 17, 74)
HSLhsl(307, 66%, 19%)
HSVhsv(307, 79%, 32%)
CMYKcmyk(0%, 79.3%, 9.8%, 67.8%)
CIE-LABlab(18.76, 36.49, -19.18)
CIE-LCHlch(18.76, 41.22, 332.27°)
OKLaboklab(31.52% 0.1056 -0.0526)
OKLCHoklch(31.52% 0.118 333.5)
XYZxyz(4.9162, 2.6896, 6.7375)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52114A #115219
analogous
#3A1152 #52114A #52112A
triadic
#52114A #4A5211 #114A52
tetradic
#52114A #523A11 #115219 #112A52
square
#52114A #523A11 #115219 #112A52
split-complementary
#52114A #2A5211 #11523A
monochromatic
#190517 #1F061C #52114A #851C78 #B726A5

Accessibility & contrast

On white

13.66
#52114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#52114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52114A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52114A#FFFFFF#000000##FFFFFF
##52114A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F284C
Deuteranopia (green-blind)
#273148
Tritanopia (blue-blind)
#56172C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #52114a;
/* rgb */ color: rgb(82, 17, 74);
/* oklch */ color: oklch(31.5% 0.118 333.5);
Tailwind
colors: {
  custom: {
    50: '#85577c',
    500: '#52114a',
    950: '#000000',
  },
}
SCSS
$custom: #52114a;
$custom-light: #85577c;
$custom-dark: #000000;
JSON
{
  "hex": "#52114a",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 307.385,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31519,
    "c": 0.11795,
    "h": 333.5
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#52114A
secondary
#348B3E
accent
#E9543F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #52114A

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

Preview Lab → · Contrast checker → · Palette generator →

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