#52136A#52136A

#52136A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.145 H 314.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#52136A
RGBrgb(82, 19, 106)
HSLhsl(283, 70%, 25%)
HSVhsv(283, 82%, 42%)
CMYKcmyk(22.6%, 82.1%, 0%, 58.4%)
CIE-LABlab(21.21, 42.11, -36.64)
CIE-LCHlch(21.21, 55.82, 318.97°)
OKLaboklab(33.97% 0.1013 -0.1035)
OKLCHoklch(33.97% 0.145 314.4)
XYZxyz(6.3136, 3.3004, 13.9373)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52136A #2B6A13
analogous
#26136A #52136A #6A1357
triadic
#52136A #6A5213 #136A52
tetradic
#52136A #6A2613 #2B6A13 #13576A
square
#52136A #6A2613 #2B6A13 #13576A
split-complementary
#52136A #576A13 #136A26
monochromatic
#14051A #2A0A36 #52136A #7A1C9E #A226D2

Accessibility & contrast

On white

12.65
#52136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52136A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52136A#FFFFFF#000000##FFFFFF
##52136A1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#0C3468
Tritanopia (blue-blind)
#50273E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52136a;
/* rgb */ color: rgb(82, 19, 106);
/* oklch */ color: oklch(34.0% 0.145 314.4);
Tailwind
colors: {
  custom: {
    50: '#865995',
    500: '#52136a',
    950: '#000000',
  },
}
SCSS
$custom: #52136a;
$custom-light: #865995;
$custom-dark: #000000;
JSON
{
  "hex": "#52136a",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 283.448,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.14486,
    "h": 314.4
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#52136A
secondary
#55A138
accent
#EC3B6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #52136A

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

Preview Lab → · Contrast checker → · Palette generator →

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