#52106F#52106F

#52106F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.153 H 312.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#52106F
RGBrgb(82, 16, 111)
HSLhsl(282, 75%, 25%)
HSVhsv(282, 86%, 44%)
CMYKcmyk(26.1%, 85.6%, 0%, 56.5%)
CIE-LABlab(21.25, 44.25, -39.82)
CIE-LCHlch(21.25, 59.52, 318.02°)
OKLaboklab(34.13% 0.1028 -0.1128)
OKLCHoklch(34.13% 0.153 312.3)
XYZxyz(6.5337, 3.3123, 15.3310)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52106F #2D6F10
analogous
#22106F #52106F #6F105D
triadic
#52106F #6F5210 #106F52
tetradic
#52106F #6F2210 #2D6F10 #105D6F
square
#52106F #6F2210 #2D6F10 #105D6F
split-complementary
#52106F #5D6F10 #106F22
monochromatic
#14041B #2A083A #52106F #7A18A4 #A11FDA

Accessibility & contrast

On white

12.63
#52106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52106F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52106F#FFFFFF#000000##FFFFFF
##52106F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#4E2841
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52106f;
/* rgb */ color: rgb(82, 16, 111);
/* oklch */ color: oklch(34.1% 0.153 312.3);
Tailwind
colors: {
  custom: {
    50: '#875899',
    500: '#52106f',
    950: '#000000',
  },
}
SCSS
$custom: #52106f;
$custom-light: #875899;
$custom-dark: #000000;
JSON
{
  "hex": "#52106f",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 281.684,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34125,
    "c": 0.1526,
    "h": 312.3
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#52106F
secondary
#57A734
accent
#F1366F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #52106F

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

Preview Lab → · Contrast checker → · Palette generator →

#52106F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva