#4C116E#4C116E

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

Color values

HEX#4C116E
RGBrgb(76, 17, 110)
HSLhsl(278, 73%, 25%)
HSVhsv(278, 85%, 43%)
CMYKcmyk(30.9%, 84.5%, 0%, 56.9%)
CIE-LABlab(20.30, 42.58, -40.77)
CIE-LCHlch(20.30, 58.95, 316.24°)
OKLaboklab(33.23% 0.0935 -0.1159)
OKLCHoklch(33.23% 0.149 308.9)
XYZxyz(5.9948, 3.0633, 15.0243)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C116E #336E11
analogous
#1E116E #4C116E #6E1161
triadic
#4C116E #6E4C11 #116E4C
tetradic
#4C116E #6E1E11 #336E11 #11616E
square
#4C116E #6E1E11 #336E11 #11616E
split-complementary
#4C116E #616E11 #116E1E
monochromatic
#12041B #270939 #4C116E #7119A3 #9521D8

Accessibility & contrast

On white

13.02
#4C116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C116E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C116E#FFFFFF#000000##FFFFFF
##4C116E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#472940
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c116e;
/* rgb */ color: rgb(76, 17, 110);
/* oklch */ color: oklch(33.2% 0.149 308.9);
Tailwind
colors: {
  custom: {
    50: '#825898',
    500: '#4c116e',
    950: '#000000',
  },
}
SCSS
$custom: #4c116e;
$custom-light: #825898;
$custom-dark: #000000;
JSON
{
  "hex": "#4c116e",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 278.065,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.14885,
    "h": 308.9
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#4C116E
secondary
#5EA535
accent
#F0387B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C116E

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

Preview Lab → · Contrast checker → · Palette generator →

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