#52195D#52195D

#52195D is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.125 H 320.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#52195D
RGBrgb(82, 25, 93)
HSLhsl(290, 58%, 23%)
HSVhsv(290, 73%, 36%)
CMYKcmyk(11.8%, 73.1%, 0%, 63.5%)
CIE-LABlab(21.13, 36.83, -28.22)
CIE-LCHlch(21.13, 46.40, 322.54°)
OKLaboklab(33.61% 0.0965 -0.0789)
OKLCHoklch(33.61% 0.125 320.7)
XYZxyz(5.8029, 3.2797, 10.6812)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52195D #245D19
analogous
#30195D #52195D #5D1946
triadic
#52195D #5D5219 #195D52
tetradic
#52195D #5D3019 #245D19 #19465D
square
#52195D #5D3019 #245D19 #19465D
split-complementary
#52195D #465D19 #195D30
monochromatic
#150618 #270C2D #52195D #7D268D #A733BD

Accessibility & contrast

On white

12.68
#52195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52195D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52195D#FFFFFF#000000##FFFFFF
##52195D1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#20355B
Tritanopia (blue-blind)
#532539
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52195d;
/* rgb */ color: rgb(82, 25, 93);
/* oklch */ color: oklch(33.6% 0.125 320.7);
Tailwind
colors: {
  custom: {
    50: '#855b8b',
    500: '#52195d',
    950: '#000000',
  },
}
SCSS
$custom: #52195d;
$custom-light: #855b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#52195d",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 290.294,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.12463,
    "h": 320.7
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#52195D
secondary
#4C933F
accent
#E14760
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #52195D

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

Preview Lab → · Contrast checker → · Palette generator →

#52195D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva