#52194E#52194E

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

Color values

HEX#52194E
RGBrgb(82, 25, 78)
HSLhsl(304, 53%, 21%)
HSVhsv(304, 70%, 32%)
CMYKcmyk(0%, 69.5%, 4.9%, 67.8%)
CIE-LABlab(20.20, 33.80, -19.64)
CIE-LCHlch(20.20, 39.09, 329.85°)
OKLaboklab(32.64% 0.096 -0.054)
OKLCHoklch(32.64% 0.11 330.7)
XYZxyz(5.2024, 3.0395, 7.5189)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52194E #19521D
analogous
#391952 #52194E #521931
triadic
#52194E #4E5219 #194E52
tetradic
#52194E #523919 #19521D #193152
square
#52194E #523919 #19521D #193152
split-complementary
#52194E #315219 #195239
monochromatic
#170716 #230B21 #52194E #81277B #B036A7

Accessibility & contrast

On white

13.06
#52194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52194E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52194E#FFFFFF#000000##FFFFFF
##52194E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#29344C
Tritanopia (blue-blind)
#551F31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52194e;
/* rgb */ color: rgb(82, 25, 78);
/* oklch */ color: oklch(32.6% 0.110 330.7);
Tailwind
colors: {
  custom: {
    50: '#855b80',
    500: '#52194e',
    950: '#000000',
  },
}
SCSS
$custom: #52194e;
$custom-light: #855b80;
$custom-dark: #000000;
JSON
{
  "hex": "#52194e",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 304.211,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3264,
    "c": 0.11013,
    "h": 330.7
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#52194E
secondary
#3E8844
accent
#DD554B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #52194E

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

Preview Lab → · Contrast checker → · Palette generator →

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