#4E116F#4E116F

#4E116F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.150 H 309.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#4E116F
RGBrgb(78, 17, 111)
HSLhsl(279, 73%, 25%)
HSVhsv(279, 85%, 44%)
CMYKcmyk(29.7%, 84.7%, 0%, 56.5%)
CIE-LABlab(20.71, 43.18, -40.74)
CIE-LCHlch(20.71, 59.36, 316.67°)
OKLaboklab(33.61% 0.0962 -0.1157)
OKLCHoklch(33.61% 0.15 309.7)
XYZxyz(6.2110, 3.1684, 15.3202)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E116F #326F11
analogous
#1F116F #4E116F #6F1161
triadic
#4E116F #6F4E11 #116F4E
tetradic
#4E116F #6F1F11 #326F11 #11616F
square
#4E116F #6F1F11 #326F11 #11616F
split-complementary
#4E116F #616F11 #116F1F
monochromatic
#13041B #29093A #4E116F #7319A4 #9921D9

Accessibility & contrast

On white

12.86
#4E116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E116F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E116F#FFFFFF#000000##FFFFFF
##4E116F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#492A41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e116f;
/* rgb */ color: rgb(78, 17, 111);
/* oklch */ color: oklch(33.6% 0.150 309.7);
Tailwind
colors: {
  custom: {
    50: '#845899',
    500: '#4e116f',
    950: '#000000',
  },
}
SCSS
$custom: #4e116f;
$custom-light: #845899;
$custom-dark: #000000;
JSON
{
  "hex": "#4e116f",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 278.936,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33608,
    "c": 0.15042,
    "h": 309.7
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E116F

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

Preview Lab → · Contrast checker → · Palette generator →

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