#4E116D#4E116D

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

Color values

HEX#4E116D
RGBrgb(78, 17, 109)
HSLhsl(280, 73%, 25%)
HSVhsv(280, 84%, 43%)
CMYKcmyk(28.4%, 84.4%, 0%, 57.3%)
CIE-LABlab(20.54, 42.72, -39.71)
CIE-LCHlch(20.54, 58.33, 317.09°)
OKLaboklab(33.44% 0.0967 -0.1127)
OKLCHoklch(33.44% 0.148 310.6)
XYZxyz(6.1021, 3.1249, 14.7467)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E116D #306D11
analogous
#20116D #4E116D #6D115E
triadic
#4E116D #6D4E11 #116D4E
tetradic
#4E116D #6D2011 #306D11 #115E6D
square
#4E116D #6D2011 #306D11 #115E6D
split-complementary
#4E116D #5E6D11 #116D20
monochromatic
#13041A #280938 #4E116D #7419A2 #9A22D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E116D#FFFFFF#000000##FFFFFF
##4E116D1.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)
#002F6F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#4A2940
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e116d;
/* rgb */ color: rgb(78, 17, 109);
/* oklch */ color: oklch(33.4% 0.148 310.6);
Tailwind
colors: {
  custom: {
    50: '#845898',
    500: '#4e116d',
    950: '#000000',
  },
}
SCSS
$custom: #4e116d;
$custom-light: #845898;
$custom-dark: #000000;
JSON
{
  "hex": "#4e116d",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 279.783,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33437,
    "c": 0.14847,
    "h": 310.6
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#4E116D
secondary
#5BA535
accent
#F03876
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E116D

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

Preview Lab → · Contrast checker → · Palette generator →

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