#4D1145#4D1145

#4D1145 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.111 H 333.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#4D1145
RGBrgb(77, 17, 69)
HSLhsl(308, 64%, 18%)
HSVhsv(308, 78%, 30%)
CMYKcmyk(0%, 77.9%, 10.4%, 69.8%)
CIE-LABlab(17.50, 34.25, -17.78)
CIE-LCHlch(17.50, 38.59, 332.57°)
OKLaboklab(30.34% 0.0993 -0.0487)
OKLCHoklch(30.34% 0.111 333.9)
XYZxyz(4.3352, 2.4087, 5.8657)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1145 #114D19
analogous
#37114D #4D1145 #4D1127
triadic
#4D1145 #454D11 #11454D
tetradic
#4D1145 #4D3711 #114D19 #11274D
square
#4D1145 #4D3711 #114D19 #11274D
split-complementary
#4D1145 #274D11 #114D37
monochromatic
#190616 #1B0618 #4D1145 #7F1C72 #B1279F

Accessibility & contrast

On white

14.17
#4D1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4D1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1145
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1145#FFFFFF#000000##FFFFFF
##4D11451.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#511629
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1145;
/* rgb */ color: rgb(77, 17, 69);
/* oklch */ color: oklch(30.3% 0.111 333.9);
Tailwind
colors: {
  custom: {
    50: '#815679',
    500: '#4d1145',
    950: '#000000',
  },
}
SCSS
$custom: #4d1145;
$custom-light: #815679;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1145",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 308,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30336,
    "c": 0.11054,
    "h": 333.9
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#4D1145
secondary
#33863E
accent
#E75741
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1145

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

Preview Lab → · Contrast checker → · Palette generator →

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