#4D1146#4D1146

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

Color values

HEX#4D1146
RGBrgb(77, 17, 70)
HSLhsl(307, 64%, 18%)
HSVhsv(307, 78%, 30%)
CMYKcmyk(0%, 77.9%, 9.1%, 69.8%)
CIE-LABlab(17.56, 34.43, -18.38)
CIE-LCHlch(17.56, 39.02, 331.91°)
OKLaboklab(30.4% 0.0993 -0.0504)
OKLCHoklch(30.4% 0.111 333.1)
XYZxyz(4.3665, 2.4212, 6.0305)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1146 #114D18
analogous
#36114D #4D1146 #4D1128
triadic
#4D1146 #464D11 #11464D
tetradic
#4D1146 #4D3611 #114D18 #11284D
square
#4D1146 #4D3611 #114D18 #11284D
split-complementary
#4D1146 #284D11 #114D36
monochromatic
#190617 #1B0618 #4D1146 #7F1C74 #B127A1

Accessibility & contrast

On white

14.15
#4D1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1146
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1146#FFFFFF#000000##FFFFFF
##4D11461.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2647
Deuteranopia (green-blind)
#252E45
Tritanopia (blue-blind)
#51172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1146;
/* rgb */ color: rgb(77, 17, 70);
/* oklch */ color: oklch(30.4% 0.111 333.1);
Tailwind
colors: {
  custom: {
    50: '#815679',
    500: '#4d1146',
    950: '#000000',
  },
}
SCSS
$custom: #4d1146;
$custom-light: #815679;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1146",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 307,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30397,
    "c": 0.11139,
    "h": 333.1
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#4D1146
secondary
#33863D
accent
#E75441
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1146

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

Preview Lab → · Contrast checker → · Palette generator →

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