#4C184A#4C184A

#4C184A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.104 H 329.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4C184A
RGBrgb(76, 24, 74)
HSLhsl(302, 52%, 20%)
HSVhsv(302, 68%, 30%)
CMYKcmyk(0%, 68.4%, 2.6%, 70.2%)
CIE-LABlab(18.73, 31.75, -19.29)
CIE-LCHlch(18.73, 37.15, 328.71°)
OKLaboklab(31.29% 0.0894 -0.0531)
OKLCHoklch(31.29% 0.104 329.3)
XYZxyz(4.5431, 2.6845, 6.7561)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C184A #184C1A
analogous
#34184C #4C184A #4C1830
triadic
#4C184A #4A4C18 #184A4C
tetradic
#4C184A #4C3418 #184C1A #18304C
square
#4C184A #4C3418 #184C1A #18304C
split-complementary
#4C184A #304C18 #184C34
monochromatic
#170717 #1D091D #4C184A #7B2777 #A935A5

Accessibility & contrast

On white

13.66
#4C184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4C184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C184A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C184A#FFFFFF#000000##FFFFFF
##4C184A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294C
Deuteranopia (green-blind)
#253049
Tritanopia (blue-blind)
#4F1E2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c184a;
/* rgb */ color: rgb(76, 24, 74);
/* oklch */ color: oklch(31.3% 0.104 329.3);
Tailwind
colors: {
  custom: {
    50: '#80597c',
    500: '#4c184a',
    950: '#000000',
  },
}
SCSS
$custom: #4c184a;
$custom-light: #80597c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c184a",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 302.308,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31287,
    "c": 0.10396,
    "h": 329.3
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#4C184A
secondary
#3D8340
accent
#DB524C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4C184A

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

Preview Lab → · Contrast checker → · Palette generator →

#4C184A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva