#52105F#52105F

#52105F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.138 H 320.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#52105F
RGBrgb(82, 16, 95)
HSLhsl(290, 71%, 22%)
HSVhsv(290, 83%, 37%)
CMYKcmyk(13.7%, 83.2%, 0%, 62.7%)
CIE-LABlab(20.01, 40.85, -31.35)
CIE-LCHlch(20.01, 51.49, 322.50°)
OKLaboklab(32.86% 0.1059 -0.088)
OKLCHoklch(32.86% 0.138 320.3)
XYZxyz(5.7303, 2.9909, 11.0997)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52105F #1D5F10
analogous
#2B105F #52105F #5F1045
triadic
#52105F #5F5210 #105F52
tetradic
#52105F #5F2B10 #1D5F10 #10455F
square
#52105F #5F2B10 #1D5F10 #10455F
split-complementary
#52105F #455F10 #105F2B
monochromatic
#17041A #25072B #52105F #7F1993 #AC22C8

Accessibility & contrast

On white

13.14
#52105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#52105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52105F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52105F#FFFFFF#000000##FFFFFF
##52105F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#18335D
Tritanopia (blue-blind)
#522137
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52105f;
/* rgb */ color: rgb(82, 16, 95);
/* oklch */ color: oklch(32.9% 0.138 320.3);
Tailwind
colors: {
  custom: {
    50: '#86578d',
    500: '#52105f',
    950: '#000000',
  },
}
SCSS
$custom: #52105f;
$custom-light: #86578d;
$custom-dark: #000000;
JSON
{
  "hex": "#52105f",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 290.127,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.13767,
    "h": 320.3
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#52105F
secondary
#449833
accent
#EE3A58
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #52105F

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

Preview Lab → · Contrast checker → · Palette generator →

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