#4D114F#4D114F

#4D114F is a dark, moderate purple. Relative luminance 0.025; OKLCH L 31.0% C 0.119 H 326.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#4D114F
RGBrgb(77, 17, 79)
HSLhsl(298, 65%, 19%)
HSVhsv(298, 78%, 31%)
CMYKcmyk(2.5%, 78.5%, 0%, 69%)
CIE-LABlab(18.11, 36.12, -23.68)
CIE-LCHlch(18.11, 43.18, 326.75°)
OKLaboklab(30.98% 0.0997 -0.0657)
OKLCHoklch(30.98% 0.119 326.6)
XYZxyz(4.6722, 2.5435, 7.6405)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D114F #134F11
analogous
#2E114F #4D114F #4F1132
triadic
#4D114F #4F4D11 #114F4D
tetradic
#4D114F #4F2E11 #134F11 #11324F
square
#4D114F #4F2E11 #134F11 #11324F
split-complementary
#4D114F #324F11 #114F2E
monochromatic
#190519 #1C061D #4D114F #7E1C81 #AF27B4

Accessibility & contrast

On white

13.92
#4D114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D114F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D114F#FFFFFF#000000##FFFFFF
##4D114F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#4F1B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d114f;
/* rgb */ color: rgb(77, 17, 79);
/* oklch */ color: oklch(31.0% 0.119 326.6);
Tailwind
colors: {
  custom: {
    50: '#815680',
    500: '#4d114f',
    950: '#000000',
  },
}
SCSS
$custom: #4d114f;
$custom-light: #815680;
$custom-dark: #000000;
JSON
{
  "hex": "#4d114f",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 298.065,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30976,
    "c": 0.11938,
    "h": 326.6
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#4D114F
secondary
#368833
accent
#E84046
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D114F

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

Preview Lab → · Contrast checker → · Palette generator →

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