#4D116E#4D116E

#4D116E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.149 H 309.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4D116E
RGBrgb(77, 17, 110)
HSLhsl(279, 73%, 25%)
HSVhsv(279, 85%, 43%)
CMYKcmyk(30%, 84.5%, 0%, 56.9%)
CIE-LABlab(20.46, 42.76, -40.50)
CIE-LCHlch(20.46, 58.90, 316.56°)
OKLaboklab(33.38% 0.0949 -0.115)
OKLCHoklch(33.38% 0.149 309.5)
XYZxyz(6.0749, 3.1046, 15.0281)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D116E #326E11
analogous
#1F116E #4D116E #6E1160
triadic
#4D116E #6E4D11 #116E4D
tetradic
#4D116E #6E1F11 #326E11 #11606E
square
#4D116E #6E1F11 #326E11 #11606E
split-complementary
#4D116E #606E11 #116E1F
monochromatic
#13041B #280939 #4D116E #7219A3 #9721D8

Accessibility & contrast

On white

12.96
#4D116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D116E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D116E#FFFFFF#000000##FFFFFF
##4D116E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d116e;
/* rgb */ color: rgb(77, 17, 110);
/* oklch */ color: oklch(33.4% 0.149 309.5);
Tailwind
colors: {
  custom: {
    50: '#835898',
    500: '#4d116e',
    950: '#000000',
  },
}
SCSS
$custom: #4d116e;
$custom-light: #835898;
$custom-dark: #000000;
JSON
{
  "hex": "#4d116e",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 278.71,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.14914,
    "h": 309.5
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#4D116E
secondary
#5DA535
accent
#F03879
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D116E

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

Preview Lab → · Contrast checker → · Palette generator →

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