#4C116D#4C116D

#4C116D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.148 H 309.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4C116D
RGBrgb(76, 17, 109)
HSLhsl(278, 73%, 25%)
HSVhsv(278, 84%, 43%)
CMYKcmyk(30.3%, 84.4%, 0%, 57.3%)
CIE-LABlab(20.21, 42.35, -40.26)
CIE-LCHlch(20.21, 58.43, 316.45°)
OKLaboklab(33.14% 0.0937 -0.1144)
OKLCHoklch(33.14% 0.148 309.3)
XYZxyz(5.9407, 3.0416, 14.7392)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C116D #326D11
analogous
#1E116D #4C116D #6D1160
triadic
#4C116D #6D4C11 #116D4C
tetradic
#4C116D #6D1E11 #326D11 #11606D
square
#4C116D #6D1E11 #326D11 #11606D
split-complementary
#4C116D #606D11 #116D1E
monochromatic
#12041A #270938 #4C116D #7119A2 #9622D7

Accessibility & contrast

On white

13.06
#4C116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C116D
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C116D#FFFFFF#000000##FFFFFF
##4C116D1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#472940
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c116d;
/* rgb */ color: rgb(76, 17, 109);
/* oklch */ color: oklch(33.1% 0.148 309.3);
Tailwind
colors: {
  custom: {
    50: '#825898',
    500: '#4c116d',
    950: '#000000',
  },
}
SCSS
$custom: #4c116d;
$custom-light: #825898;
$custom-dark: #000000;
JSON
{
  "hex": "#4c116d",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 278.478,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33141,
    "c": 0.14786,
    "h": 309.3
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C116D

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

Preview Lab → · Contrast checker → · Palette generator →

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