#4D116C#4D116C

#4D116C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.147 H 310.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#4D116C
RGBrgb(77, 17, 108)
HSLhsl(280, 73%, 25%)
HSVhsv(280, 84%, 42%)
CMYKcmyk(28.7%, 84.3%, 0%, 57.6%)
CIE-LABlab(20.29, 42.31, -39.47)
CIE-LCHlch(20.29, 57.86, 316.98°)
OKLaboklab(33.2% 0.0955 -0.112)
OKLCHoklch(33.2% 0.147 310.4)
XYZxyz(5.9673, 3.0615, 14.4610)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D116C #306C11
analogous
#1F116C #4D116C #6C115E
triadic
#4D116C #6C4D11 #116C4D
tetradic
#4D116C #6C1F11 #306C11 #115E6C
square
#4D116C #6C1F11 #306C11 #115E6C
split-complementary
#4D116C #5E6C11 #116C1F
monochromatic
#13041A #270937 #4D116C #7319A1 #9822D6

Accessibility & contrast

On white

13.03
#4D116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D116C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D116C#FFFFFF#000000##FFFFFF
##4D116C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#49283F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d116c;
/* rgb */ color: rgb(77, 17, 108);
/* oklch */ color: oklch(33.2% 0.147 310.4);
Tailwind
colors: {
  custom: {
    50: '#835897',
    500: '#4d116c',
    950: '#000000',
  },
}
SCSS
$custom: #4d116c;
$custom-light: #835897;
$custom-dark: #000000;
JSON
{
  "hex": "#4d116c",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 279.56,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33203,
    "c": 0.14718,
    "h": 310.4
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#4D116C
secondary
#5BA435
accent
#EF3877
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D116C

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

Preview Lab → · Contrast checker → · Palette generator →

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