#4D114D#4D114D

#4D114D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.118 H 328.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4D114D
RGBrgb(77, 17, 77)
HSLhsl(300, 64%, 18%)
HSVhsv(300, 78%, 30%)
CMYKcmyk(0%, 77.9%, 0%, 69.8%)
CIE-LABlab(17.99, 35.73, -22.52)
CIE-LCHlch(17.99, 42.23, 327.78°)
OKLaboklab(30.84% 0.0997 -0.0623)
OKLCHoklch(30.84% 0.118 328)
XYZxyz(4.6005, 2.5148, 7.2628)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D114D #114D11
analogous
#2F114D #4D114D #4D112F
triadic
#4D114D #4D4D11 #114D4D
tetradic
#4D114D #4D2F11 #114D11 #112F4D
square
#4D114D #4D2F11 #114D11 #112F4D
split-complementary
#4D114D #2F4D11 #114D2F
monochromatic
#190619 #1B061B #4D114D #7F1C7F #B127B1

Accessibility & contrast

On white

13.97
#4D114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D114D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D114D#FFFFFF#000000##FFFFFF
##4D114D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274F
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#501A2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d114d;
/* rgb */ color: rgb(77, 17, 77);
/* oklch */ color: oklch(30.8% 0.118 328.0);
Tailwind
colors: {
  custom: {
    50: '#81567f',
    500: '#4d114d',
    950: '#000000',
  },
}
SCSS
$custom: #4d114d;
$custom-light: #81567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d114d",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 300,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30842,
    "c": 0.11756,
    "h": 328
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#4D114D
secondary
#338633
accent
#E74141
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D114D

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

Preview Lab → · Contrast checker → · Palette generator →

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