#52134F#52134F

#52134F is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.120 H 330.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#52134F
RGBrgb(82, 19, 79)
HSLhsl(303, 62%, 20%)
HSVhsv(303, 77%, 32%)
CMYKcmyk(0%, 76.8%, 3.7%, 67.8%)
CIE-LABlab(19.33, 36.61, -21.69)
CIE-LCHlch(19.33, 42.55, 329.35°)
OKLaboklab(32.03% 0.1036 -0.0598)
OKLCHoklch(32.03% 0.12 330)
XYZxyz(5.1238, 2.8245, 7.6709)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52134F #135216
analogous
#361352 #52134F #521330
triadic
#52134F #4F5213 #134F52
tetradic
#52134F #523613 #135216 #133052
square
#52134F #523613 #135216 #133052
split-complementary
#52134F #305213 #135236
monochromatic
#190618 #20071F #52134F #841F7F #B52AAF

Accessibility & contrast

On white

13.42
#52134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52134F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52134F#FFFFFF#000000##FFFFFF
##52134F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2951
Deuteranopia (green-blind)
#25324D
Tritanopia (blue-blind)
#551B2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #52134f;
/* rgb */ color: rgb(82, 19, 79);
/* oklch */ color: oklch(32.0% 0.120 330.0);
Tailwind
colors: {
  custom: {
    50: '#855880',
    500: '#52134f',
    950: '#000000',
  },
}
SCSS
$custom: #52134f;
$custom-light: #855880;
$custom-dark: #000000;
JSON
{
  "hex": "#52134f",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 302.857,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32027,
    "c": 0.11965,
    "h": 330
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#52134F
secondary
#368A3A
accent
#E54A42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52134F

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

Preview Lab → · Contrast checker → · Palette generator →

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