#52134D#52134D

#52134D is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.118 H 331.4°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#52134D
RGBrgb(82, 19, 77)
HSLhsl(305, 62%, 20%)
HSVhsv(305, 77%, 32%)
CMYKcmyk(0%, 76.8%, 6.1%, 67.8%)
CIE-LABlab(19.21, 36.24, -20.52)
CIE-LCHlch(19.21, 41.65, 330.48°)
OKLaboklab(31.9% 0.1035 -0.0565)
OKLCHoklch(31.9% 0.118 331.4)
XYZxyz(5.0521, 2.7958, 7.2933)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52134D #135218
analogous
#381352 #52134D #52132E
triadic
#52134D #4D5213 #134D52
tetradic
#52134D #523813 #135218 #132E52
square
#52134D #523813 #135218 #132E52
split-complementary
#52134D #2E5213 #135238
monochromatic
#190617 #20071E #52134D #841F7C #B52AAA

Accessibility & contrast

On white

13.47
#52134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#52134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52134D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52134D#FFFFFF#000000##FFFFFF
##52134D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E294F
Deuteranopia (green-blind)
#26324B
Tritanopia (blue-blind)
#561A2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #52134d;
/* rgb */ color: rgb(82, 19, 77);
/* oklch */ color: oklch(31.9% 0.118 331.4);
Tailwind
colors: {
  custom: {
    50: '#85587f',
    500: '#52134d',
    950: '#000000',
  },
}
SCSS
$custom: #52134d;
$custom-light: #85587f;
$custom-dark: #000000;
JSON
{
  "hex": "#52134d",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 304.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.11791,
    "h": 331.4
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#52134D
secondary
#368A3D
accent
#E54F42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #52134D

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

Preview Lab → · Contrast checker → · Palette generator →

#52134D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva