#52194F#52194F

#52194F is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.111 H 329.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#52194F
RGBrgb(82, 25, 79)
HSLhsl(303, 53%, 21%)
HSVhsv(303, 70%, 32%)
CMYKcmyk(0%, 69.5%, 3.7%, 67.8%)
CIE-LABlab(20.26, 33.99, -20.22)
CIE-LCHlch(20.26, 39.55, 329.25°)
OKLaboklab(32.7% 0.0961 -0.0556)
OKLCHoklch(32.7% 0.111 329.9)
XYZxyz(5.2386, 3.0540, 7.7092)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52194F #19521C
analogous
#381952 #52194F #521932
triadic
#52194F #4F5219 #194F52
tetradic
#52194F #523819 #19521C #193252
square
#52194F #523819 #19521C #193252
split-complementary
#52194F #325219 #195238
monochromatic
#170717 #230B22 #52194F #81277C #B036A9

Accessibility & contrast

On white

13.04
#52194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#52194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52194F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52194F#FFFFFF#000000##FFFFFF
##52194F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#28344D
Tritanopia (blue-blind)
#551F31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52194f;
/* rgb */ color: rgb(82, 25, 79);
/* oklch */ color: oklch(32.7% 0.111 329.9);
Tailwind
colors: {
  custom: {
    50: '#855b80',
    500: '#52194f',
    950: '#000000',
  },
}
SCSS
$custom: #52194f;
$custom-light: #855b80;
$custom-dark: #000000;
JSON
{
  "hex": "#52194f",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 303.158,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.327,
    "c": 0.11106,
    "h": 329.9
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#52194F
secondary
#3E8842
accent
#DD534B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52194F

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

Preview Lab → · Contrast checker → · Palette generator →

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