#4C116C#4C116C

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

Color values

HEX#4C116C
RGBrgb(76, 17, 108)
HSLhsl(279, 73%, 25%)
HSVhsv(279, 84%, 42%)
CMYKcmyk(29.6%, 84.3%, 0%, 57.6%)
CIE-LABlab(20.12, 42.12, -39.75)
CIE-LCHlch(20.12, 57.92, 316.66°)
OKLaboklab(33.06% 0.094 -0.1128)
OKLCHoklch(33.06% 0.147 309.8)
XYZxyz(5.8872, 3.0202, 14.4573)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C116C #316C11
analogous
#1F116C #4C116C #6C115F
triadic
#4C116C #6C4C11 #116C4C
tetradic
#4C116C #6C1F11 #316C11 #115F6C
square
#4C116C #6C1F11 #316C11 #115F6C
split-complementary
#4C116C #5F6C11 #116C1F
monochromatic
#13041A #270937 #4C116C #7119A1 #9622D6

Accessibility & contrast

On white

13.09
#4C116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C116C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C116C#FFFFFF#000000##FFFFFF
##4C116C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c116c;
/* rgb */ color: rgb(76, 17, 108);
/* oklch */ color: oklch(33.1% 0.147 309.8);
Tailwind
colors: {
  custom: {
    50: '#825897',
    500: '#4c116c',
    950: '#000000',
  },
}
SCSS
$custom: #4c116c;
$custom-light: #825897;
$custom-dark: #000000;
JSON
{
  "hex": "#4c116c",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 278.901,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.14686,
    "h": 309.8
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#4C116C
secondary
#5CA435
accent
#EF3879
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C116C

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

Preview Lab → · Contrast checker → · Palette generator →

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