#52105C#52105C

#52105C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.135 H 322.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#52105C
RGBrgb(82, 16, 92)
HSLhsl(292, 70%, 21%)
HSVhsv(292, 83%, 36%)
CMYKcmyk(10.9%, 82.6%, 0%, 63.9%)
CIE-LABlab(19.79, 40.25, -29.70)
CIE-LCHlch(19.79, 50.02, 323.57°)
OKLaboklab(32.63% 0.1063 -0.0831)
OKLCHoklch(32.63% 0.135 322)
XYZxyz(5.5965, 2.9374, 10.3953)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52105C #1A5C10
analogous
#2C105C #52105C #5C1040
triadic
#52105C #5C5210 #105C52
tetradic
#52105C #5C2C10 #1A5C10 #10405C
square
#52105C #5C2C10 #1A5C10 #10405C
split-complementary
#52105C #405C10 #105C2C
monochromatic
#17051A #240728 #52105C #801990 #AF22C4

Accessibility & contrast

On white

13.23
#52105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52105C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52105C#FFFFFF#000000##FFFFFF
##52105C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#531F36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52105c;
/* rgb */ color: rgb(82, 16, 92);
/* oklch */ color: oklch(32.6% 0.135 322.0);
Tailwind
colors: {
  custom: {
    50: '#86578a',
    500: '#52105c',
    950: '#000000',
  },
}
SCSS
$custom: #52105c;
$custom-light: #86578a;
$custom-dark: #000000;
JSON
{
  "hex": "#52105c",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 292.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.13493,
    "h": 322
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#52105C
secondary
#409533
accent
#ED3B52
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #52105C

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

Preview Lab → · Contrast checker → · Palette generator →

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