#52136C#52136C

#52136C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.147 H 313.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#52136C
RGBrgb(82, 19, 108)
HSLhsl(282, 70%, 25%)
HSVhsv(282, 82%, 42%)
CMYKcmyk(24.1%, 82.4%, 0%, 57.6%)
CIE-LABlab(21.37, 42.55, -37.69)
CIE-LCHlch(21.37, 56.84, 318.47°)
OKLaboklab(34.13% 0.1009 -0.1066)
OKLCHoklch(34.13% 0.147 313.4)
XYZxyz(6.4188, 3.3425, 14.4915)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52136C #2D6C13
analogous
#26136C #52136C #6C135A
triadic
#52136C #6C5213 #136C52
tetradic
#52136C #6C2613 #2D6C13 #135A6C
square
#52136C #6C2613 #2D6C13 #135A6C
split-complementary
#52136C #5A6C13 #136C26
monochromatic
#14051A #2A0A38 #52136C #7A1CA0 #A125D4

Accessibility & contrast

On white

12.59
#52136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#52136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52136C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52136C#FFFFFF#000000##FFFFFF
##52136C1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#08356A
Tritanopia (blue-blind)
#4F283F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52136c;
/* rgb */ color: rgb(82, 19, 108);
/* oklch */ color: oklch(34.1% 0.147 313.4);
Tailwind
colors: {
  custom: {
    50: '#865997',
    500: '#52136c',
    950: '#000000',
  },
}
SCSS
$custom: #52136c;
$custom-light: #865997;
$custom-dark: #000000;
JSON
{
  "hex": "#52136c",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 282.472,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34127,
    "c": 0.1468,
    "h": 313.4
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#52136C
secondary
#57A338
accent
#ED3B6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #52136C

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

Preview Lab → · Contrast checker → · Palette generator →

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