#4D116D#4D116D

#4D116D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.148 H 310.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4D116D
RGBrgb(77, 17, 109)
HSLhsl(279, 73%, 25%)
HSVhsv(279, 84%, 43%)
CMYKcmyk(29.4%, 84.4%, 0%, 57.3%)
CIE-LABlab(20.37, 42.54, -39.99)
CIE-LCHlch(20.37, 58.38, 316.77°)
OKLaboklab(33.29% 0.0952 -0.1135)
OKLCHoklch(33.29% 0.148 310)
XYZxyz(6.0208, 3.0829, 14.7429)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D116D #316D11
analogous
#1F116D #4D116D #6D115F
triadic
#4D116D #6D4D11 #116D4D
tetradic
#4D116D #6D1F11 #316D11 #115F6D
square
#4D116D #6D1F11 #316D11 #115F6D
split-complementary
#4D116D #5F6D11 #116D1F
monochromatic
#13041A #280938 #4D116D #7219A2 #9822D7

Accessibility & contrast

On white

12.99
#4D116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D116D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D116D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D116D#FFFFFF#000000##FFFFFF
##4D116D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#482940
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d116d;
/* rgb */ color: rgb(77, 17, 109);
/* oklch */ color: oklch(33.3% 0.148 310.0);
Tailwind
colors: {
  custom: {
    50: '#835898',
    500: '#4d116d',
    950: '#000000',
  },
}
SCSS
$custom: #4d116d;
$custom-light: #835898;
$custom-dark: #000000;
JSON
{
  "hex": "#4d116d",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 279.13,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.14815,
    "h": 310
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#4D116D
secondary
#5CA535
accent
#F03878
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D116D

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

Preview Lab → · Contrast checker → · Palette generator →

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