#4D184D#4D184D

#4D184D is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 327.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4D184D
RGBrgb(77, 24, 77)
HSLhsl(300, 52%, 20%)
HSVhsv(300, 69%, 30%)
CMYKcmyk(0%, 68.8%, 0%, 69.8%)
CIE-LABlab(19.09, 32.64, -20.77)
CIE-LCHlch(19.09, 38.69, 327.52°)
OKLaboklab(31.64% 0.0909 -0.0574)
OKLCHoklch(31.64% 0.108 327.7)
XYZxyz(4.7267, 2.7672, 7.3049)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D184D #184D18
analogous
#33184D #4D184D #4D1833
triadic
#4D184D #4D4D18 #184D4D
tetradic
#4D184D #4D3318 #184D18 #18334D
square
#4D184D #4D3318 #184D18 #18334D
split-complementary
#4D184D #334D18 #184D33
monochromatic
#170717 #1E091E #4D184D #7C277C #AA35AA

Accessibility & contrast

On white

13.52
#4D184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D184D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D184D#FFFFFF#000000##FFFFFF
##4D184D1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A4F
Deuteranopia (green-blind)
#25314C
Tritanopia (blue-blind)
#501F30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d184d;
/* rgb */ color: rgb(77, 24, 77);
/* oklch */ color: oklch(31.6% 0.108 327.7);
Tailwind
colors: {
  custom: {
    50: '#81597f',
    500: '#4d184d',
    950: '#000000',
  },
}
SCSS
$custom: #4d184d;
$custom-light: #81597f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d184d",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 300,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31636,
    "c": 0.10751,
    "h": 327.7
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#4D184D
secondary
#3D843D
accent
#DC4C4C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4D184D

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

Preview Lab → · Contrast checker → · Palette generator →

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