#52105E#52105E

#52105E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.137 H 320.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#52105E
RGBrgb(82, 16, 94)
HSLhsl(291, 71%, 22%)
HSVhsv(291, 83%, 37%)
CMYKcmyk(12.8%, 83%, 0%, 63.1%)
CIE-LABlab(19.93, 40.65, -30.80)
CIE-LCHlch(19.93, 51.00, 322.85°)
OKLaboklab(32.78% 0.106 -0.0864)
OKLCHoklch(32.78% 0.137 320.8)
XYZxyz(5.6851, 2.9729, 10.8619)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52105E #1C5E10
analogous
#2B105E #52105E #5E1043
triadic
#52105E #5E5210 #105E52
tetradic
#52105E #5E2B10 #1C5E10 #10435E
square
#52105E #5E2B10 #1C5E10 #10435E
split-complementary
#52105E #435E10 #105E2B
monochromatic
#17041A #24072A #52105E #801992 #AD22C7

Accessibility & contrast

On white

13.17
#52105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#52105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52105E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52105E#FFFFFF#000000##FFFFFF
##52105E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#532037
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52105e;
/* rgb */ color: rgb(82, 16, 94);
/* oklch */ color: oklch(32.8% 0.137 320.8);
Tailwind
colors: {
  custom: {
    50: '#86578c',
    500: '#52105e',
    950: '#000000',
  },
}
SCSS
$custom: #52105e;
$custom-light: #86578c;
$custom-dark: #000000;
JSON
{
  "hex": "#52105e",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 290.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32781,
    "c": 0.13676,
    "h": 320.8
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#52105E
secondary
#429733
accent
#EE3A56
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #52105E

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

Preview Lab → · Contrast checker → · Palette generator →

#52105E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva