#4D116F#4D116F

#4D116F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.150 H 309.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4D116F
RGBrgb(77, 17, 111)
HSLhsl(278, 73%, 25%)
HSVhsv(278, 85%, 44%)
CMYKcmyk(30.6%, 84.7%, 0%, 56.5%)
CIE-LABlab(20.54, 43.00, -41.01)
CIE-LCHlch(20.54, 59.42, 316.35°)
OKLaboklab(33.46% 0.0947 -0.1165)
OKLCHoklch(33.46% 0.15 309.1)
XYZxyz(6.1297, 3.1265, 15.3164)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D116F #336F11
analogous
#1E116F #4D116F #6F1162
triadic
#4D116F #6F4D11 #116F4D
tetradic
#4D116F #6F1E11 #336F11 #11626F
square
#4D116F #6F1E11 #336F11 #11626F
split-complementary
#4D116F #626F11 #116F1E
monochromatic
#12041B #28093A #4D116F #7219A4 #9721D9

Accessibility & contrast

On white

12.92
#4D116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D116F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D116F#FFFFFF#000000##FFFFFF
##4D116F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#482A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d116f;
/* rgb */ color: rgb(77, 17, 111);
/* oklch */ color: oklch(33.5% 0.150 309.1);
Tailwind
colors: {
  custom: {
    50: '#835899',
    500: '#4d116f',
    950: '#000000',
  },
}
SCSS
$custom: #4d116f;
$custom-light: #835899;
$custom-dark: #000000;
JSON
{
  "hex": "#4d116f",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 278.298,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.15013,
    "h": 309.1
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#4D116F
secondary
#5EA635
accent
#F0387A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D116F

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

Preview Lab → · Contrast checker → · Palette generator →

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