#52105B#52105B

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

Color values

HEX#52105B
RGBrgb(82, 16, 91)
HSLhsl(293, 70%, 21%)
HSVhsv(293, 82%, 36%)
CMYKcmyk(9.9%, 82.4%, 0%, 64.3%)
CIE-LABlab(19.72, 40.05, -29.15)
CIE-LCHlch(19.72, 49.53, 323.95°)
OKLaboklab(32.56% 0.1064 -0.0815)
OKLCHoklch(32.56% 0.134 322.5)
XYZxyz(5.5531, 2.9201, 10.1666)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52105B #195B10
analogous
#2C105B #52105B #5B103E
triadic
#52105B #5B5210 #105B52
tetradic
#52105B #5B2C10 #195B10 #103E5B
square
#52105B #5B2C10 #195B10 #103E5B
split-complementary
#52105B #3E5B10 #105B2C
monochromatic
#17051A #230727 #52105B #81198F #B022C3

Accessibility & contrast

On white

13.26
#52105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#52105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52105B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52105B#FFFFFF#000000##FFFFFF
##52105B1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#1C3259
Tritanopia (blue-blind)
#531F35
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52105b;
/* rgb */ color: rgb(82, 16, 91);
/* oklch */ color: oklch(32.6% 0.134 322.5);
Tailwind
colors: {
  custom: {
    50: '#86578a',
    500: '#52105b',
    950: '#000000',
  },
}
SCSS
$custom: #52105b;
$custom-light: #86578a;
$custom-dark: #000000;
JSON
{
  "hex": "#52105b",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 292.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.13402,
    "h": 322.5
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#52105B
secondary
#3E9433
accent
#ED3B50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #52105B

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

Preview Lab → · Contrast checker → · Palette generator →

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