#52194D#52194D

#52194D is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.109 H 331.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#52194D
RGBrgb(82, 25, 77)
HSLhsl(305, 53%, 21%)
HSVhsv(305, 70%, 32%)
CMYKcmyk(0%, 69.5%, 6.1%, 67.8%)
CIE-LABlab(20.14, 33.61, -19.05)
CIE-LCHlch(20.14, 38.63, 330.46°)
OKLaboklab(32.58% 0.0959 -0.0523)
OKLCHoklch(32.58% 0.109 331.4)
XYZxyz(5.1668, 3.0253, 7.3315)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52194D #19521E
analogous
#3A1952 #52194D #521930
triadic
#52194D #4D5219 #194D52
tetradic
#52194D #523A19 #19521E #193052
square
#52194D #523A19 #19521E #193052
split-complementary
#52194D #305219 #19523A
monochromatic
#170716 #230B21 #52194D #812779 #B036A5

Accessibility & contrast

On white

13.08
#52194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52194D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52194D#FFFFFF#000000##FFFFFF
##52194D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4F
Deuteranopia (green-blind)
#29334C
Tritanopia (blue-blind)
#551F30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52194d;
/* rgb */ color: rgb(82, 25, 77);
/* oklch */ color: oklch(32.6% 0.109 331.4);
Tailwind
colors: {
  custom: {
    50: '#855b7f',
    500: '#52194d',
    950: '#000000',
  },
}
SCSS
$custom: #52194d;
$custom-light: #855b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#52194d",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 305.263,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3258,
    "c": 0.10922,
    "h": 331.4
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#52194D
secondary
#3E8845
accent
#DD584B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52194D

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

Preview Lab → · Contrast checker → · Palette generator →

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