#52136B#52136B

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

Color values

HEX#52136B
RGBrgb(82, 19, 107)
HSLhsl(283, 70%, 25%)
HSVhsv(283, 82%, 42%)
CMYKcmyk(23.4%, 82.2%, 0%, 58%)
CIE-LABlab(21.29, 42.33, -37.17)
CIE-LCHlch(21.29, 56.33, 318.72°)
OKLaboklab(34.05% 0.1011 -0.105)
OKLCHoklch(34.05% 0.146 313.9)
XYZxyz(6.3659, 3.3213, 14.2128)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52136B #2C6B13
analogous
#26136B #52136B #6B1358
triadic
#52136B #6B5213 #136B52
tetradic
#52136B #6B2613 #2C6B13 #13586B
square
#52136B #6B2613 #2C6B13 #13586B
split-complementary
#52136B #586B13 #136B26
monochromatic
#14051A #2A0A37 #52136B #7A1C9F #A225D3

Accessibility & contrast

On white

12.62
#52136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52136B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52136B#FFFFFF#000000##FFFFFF
##52136B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#0A3569
Tritanopia (blue-blind)
#4F283F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52136b;
/* rgb */ color: rgb(82, 19, 107);
/* oklch */ color: oklch(34.0% 0.146 313.9);
Tailwind
colors: {
  custom: {
    50: '#865996',
    500: '#52136b',
    950: '#000000',
  },
}
SCSS
$custom: #52136b;
$custom-light: #865996;
$custom-dark: #000000;
JSON
{
  "hex": "#52136b",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 282.955,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34047,
    "c": 0.14582,
    "h": 313.9
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#52136B
secondary
#56A238
accent
#ED3B6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #52136B

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

Preview Lab → · Contrast checker → · Palette generator →

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