#52134B#52134B

#52134B is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.116 H 332.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#52134B
RGBrgb(82, 19, 75)
HSLhsl(307, 62%, 20%)
HSVhsv(307, 77%, 32%)
CMYKcmyk(0%, 76.8%, 8.5%, 67.8%)
CIE-LABlab(19.09, 35.88, -19.34)
CIE-LCHlch(19.09, 40.76, 331.67°)
OKLaboklab(31.78% 0.1034 -0.0531)
OKLCHoklch(31.78% 0.116 332.8)
XYZxyz(4.9826, 2.7680, 6.9271)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52134B #13521A
analogous
#3A1352 #52134B #52132B
triadic
#52134B #4B5213 #134B52
tetradic
#52134B #523A13 #13521A #132B52
square
#52134B #523A13 #13521A #132B52
split-complementary
#52134B #2B5213 #13523A
monochromatic
#190617 #20071E #52134B #841F78 #B52AA6

Accessibility & contrast

On white

13.52
#52134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#52134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52134B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52134B#FFFFFF#000000##FFFFFF
##52134B1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#273249
Tritanopia (blue-blind)
#56192D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #52134b;
/* rgb */ color: rgb(82, 19, 75);
/* oklch */ color: oklch(31.8% 0.116 332.8);
Tailwind
colors: {
  custom: {
    50: '#85587d',
    500: '#52134b',
    950: '#000000',
  },
}
SCSS
$custom: #52134b;
$custom-light: #85587d;
$custom-dark: #000000;
JSON
{
  "hex": "#52134b",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 306.667,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31779,
    "c": 0.11618,
    "h": 332.8
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#52134B
secondary
#368A40
accent
#E55442
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #52134B

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

Preview Lab → · Contrast checker → · Palette generator →

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