#52135B#52135B

#52135B is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.131 H 322.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#52135B
RGBrgb(82, 19, 91)
HSLhsl(293, 65%, 22%)
HSVhsv(293, 79%, 36%)
CMYKcmyk(9.9%, 79.1%, 0%, 64.3%)
CIE-LABlab(20.10, 38.94, -28.53)
CIE-LCHlch(20.10, 48.28, 323.77°)
OKLaboklab(32.83% 0.1034 -0.0797)
OKLCHoklch(32.83% 0.131 322.4)
XYZxyz(5.6007, 3.0152, 10.1825)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52135B #1C5B13
analogous
#2E135B #52135B #5B1340
triadic
#52135B #5B5213 #135B52
tetradic
#52135B #5B2E13 #1C5B13 #13405B
square
#52135B #5B2E13 #1C5B13 #13405B
split-complementary
#52135B #405B13 #135B2E
monochromatic
#170519 #240828 #52135B #801E8E #AD28C0

Accessibility & contrast

On white

13.10
#52135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#52135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52135B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52135B#FFFFFF#000000##FFFFFF
##52135B1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#1E3359
Tritanopia (blue-blind)
#532136
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52135b;
/* rgb */ color: rgb(82, 19, 91);
/* oklch */ color: oklch(32.8% 0.131 322.4);
Tailwind
colors: {
  custom: {
    50: '#85588a',
    500: '#52135b',
    950: '#000000',
  },
}
SCSS
$custom: #52135b;
$custom-light: #85588a;
$custom-dark: #000000;
JSON
{
  "hex": "#52135b",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 292.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.13058,
    "h": 322.4
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#52135B
secondary
#429337
accent
#E83F55
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #52135B

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

Preview Lab → · Contrast checker → · Palette generator →

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