#4D114A#4D114A

#4D114A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.115 H 330.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#4D114A
RGBrgb(77, 17, 74)
HSLhsl(303, 64%, 18%)
HSVhsv(303, 78%, 30%)
CMYKcmyk(0%, 77.9%, 3.9%, 69.8%)
CIE-LABlab(17.80, 35.16, -20.76)
CIE-LCHlch(17.80, 40.83, 329.45°)
OKLaboklab(30.65% 0.0996 -0.0572)
OKLCHoklch(30.65% 0.115 330.1)
XYZxyz(4.4970, 2.4734, 6.7178)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D114A #114D14
analogous
#32114D #4D114A #4D112C
triadic
#4D114A #4A4D11 #114A4D
tetradic
#4D114A #4D3211 #114D14 #112C4D
square
#4D114A #4D3211 #114D14 #112C4D
split-complementary
#4D114A #2C4D11 #114D32
monochromatic
#190618 #1B061A #4D114A #7F1C7A #B127AA

Accessibility & contrast

On white

14.05
#4D114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D114A
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D114A#FFFFFF#000000##FFFFFF
##4D114A1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264C
Deuteranopia (green-blind)
#232E48
Tritanopia (blue-blind)
#50192C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d114a;
/* rgb */ color: rgb(77, 17, 74);
/* oklch */ color: oklch(30.6% 0.115 330.1);
Tailwind
colors: {
  custom: {
    50: '#81567d',
    500: '#4d114a',
    950: '#000000',
  },
}
SCSS
$custom: #4d114a;
$custom-light: #81567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d114a",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 303,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30647,
    "c": 0.11487,
    "h": 330.1
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#4D114A
secondary
#338638
accent
#E74941
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D114A

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

Preview Lab → · Contrast checker → · Palette generator →

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