#52195A#52195A

#52195A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.122 H 322.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#52195A
RGBrgb(82, 25, 90)
HSLhsl(293, 57%, 23%)
HSVhsv(293, 72%, 35%)
CMYKcmyk(8.9%, 72.2%, 0%, 64.7%)
CIE-LABlab(20.93, 36.20, -26.54)
CIE-LCHlch(20.93, 44.89, 323.75°)
OKLaboklab(33.41% 0.0966 -0.074)
OKLCHoklch(33.41% 0.122 322.5)
XYZxyz(5.6726, 3.2276, 9.9951)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52195A #215A19
analogous
#31195A #52195A #5A1942
triadic
#52195A #5A5219 #195A52
tetradic
#52195A #5A3119 #215A19 #19425A
square
#52195A #5A3119 #215A19 #19425A
split-complementary
#52195A #425A19 #195A31
monochromatic
#160718 #260C2A #52195A #7E268A #A934BA

Accessibility & contrast

On white

12.76
#52195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#52195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52195A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52195A#FFFFFF#000000##FFFFFF
##52195A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5C
Deuteranopia (green-blind)
#223558
Tritanopia (blue-blind)
#532437
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #52195a;
/* rgb */ color: rgb(82, 25, 90);
/* oklch */ color: oklch(33.4% 0.122 322.5);
Tailwind
colors: {
  custom: {
    50: '#855b89',
    500: '#52195a',
    950: '#000000',
  },
}
SCSS
$custom: #52195a;
$custom-light: #855b89;
$custom-dark: #000000;
JSON
{
  "hex": "#52195a",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 292.615,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.12164,
    "h": 322.5
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#52195A
secondary
#49903E
accent
#E0485B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #52195A

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

Preview Lab → · Contrast checker → · Palette generator →

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