#4C116F#4C116F

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

Color values

HEX#4C116F
RGBrgb(76, 17, 111)
HSLhsl(278, 73%, 25%)
HSVhsv(278, 85%, 44%)
CMYKcmyk(31.5%, 84.7%, 0%, 56.5%)
CIE-LABlab(20.38, 42.81, -41.28)
CIE-LCHlch(20.38, 59.47, 316.05°)
OKLaboklab(33.32% 0.0932 -0.1173)
OKLCHoklch(33.32% 0.15 308.4)
XYZxyz(6.0496, 3.0852, 15.3127)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C116F #346F11
analogous
#1D116F #4C116F #6F1163
triadic
#4C116F #6F4C11 #116F4C
tetradic
#4C116F #6F1D11 #346F11 #11636F
square
#4C116F #6F1D11 #346F11 #11636F
split-complementary
#4C116F #636F11 #116F1D
monochromatic
#12041B #28093A #4C116F #7019A4 #9521D9

Accessibility & contrast

On white

12.99
#4C116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C116F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C116F#FFFFFF#000000##FFFFFF
##4C116F1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c116f;
/* rgb */ color: rgb(76, 17, 111);
/* oklch */ color: oklch(33.3% 0.150 308.4);
Tailwind
colors: {
  custom: {
    50: '#825899',
    500: '#4c116f',
    950: '#000000',
  },
}
SCSS
$custom: #4c116f;
$custom-light: #825899;
$custom-dark: #000000;
JSON
{
  "hex": "#4c116f",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 277.66,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33315,
    "c": 0.14984,
    "h": 308.4
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#4C116F
secondary
#5FA635
accent
#F0387C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C116F

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

Preview Lab → · Contrast checker → · Palette generator →

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