#4D1147#4D1147

#4D1147 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.112 H 332.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#4D1147
RGBrgb(77, 17, 71)
HSLhsl(306, 64%, 18%)
HSVhsv(306, 78%, 30%)
CMYKcmyk(0%, 77.9%, 7.8%, 69.8%)
CIE-LABlab(17.62, 34.61, -18.98)
CIE-LCHlch(17.62, 39.47, 331.26°)
OKLaboklab(30.46% 0.0994 -0.0521)
OKLCHoklch(30.46% 0.112 332.3)
XYZxyz(4.3984, 2.4340, 6.1982)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1147 #114D17
analogous
#35114D #4D1147 #4D1129
triadic
#4D1147 #474D11 #11474D
tetradic
#4D1147 #4D3511 #114D17 #11294D
square
#4D1147 #4D3511 #114D17 #11294D
split-complementary
#4D1147 #294D11 #114D35
monochromatic
#190617 #1B0619 #4D1147 #7F1C75 #B127A3

Accessibility & contrast

On white

14.12
#4D1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4D1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1147
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1147#FFFFFF#000000##FFFFFF
##4D11471.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2649
Deuteranopia (green-blind)
#242E46
Tritanopia (blue-blind)
#51172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1147;
/* rgb */ color: rgb(77, 17, 71);
/* oklch */ color: oklch(30.5% 0.112 332.3);
Tailwind
colors: {
  custom: {
    50: '#81567a',
    500: '#4d1147',
    950: '#000000',
  },
}
SCSS
$custom: #4d1147;
$custom-light: #81567a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1147",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 306,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30458,
    "c": 0.11225,
    "h": 332.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#4D1147
secondary
#33863C
accent
#E75241
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1147

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

Preview Lab → · Contrast checker → · Palette generator →

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