#4C116A#4C116A

#4C116A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.145 H 310.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#4C116A
RGBrgb(76, 17, 106)
HSLhsl(280, 72%, 24%)
HSVhsv(280, 84%, 42%)
CMYKcmyk(28.3%, 84%, 0%, 58.4%)
CIE-LABlab(19.96, 41.66, -38.72)
CIE-LCHlch(19.96, 56.88, 317.10°)
OKLaboklab(32.89% 0.0945 -0.1098)
OKLCHoklch(32.89% 0.145 310.7)
XYZxyz(5.7820, 2.9781, 13.9031)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C116A #2F6A11
analogous
#1F116A #4C116A #6A115C
triadic
#4C116A #6A4C11 #116A4C
tetradic
#4C116A #6A1F11 #2F6A11 #115C6A
square
#4C116A #6A1F11 #2F6A11 #115C6A
split-complementary
#4C116A #5C6A11 #116A1F
monochromatic
#13041A #260935 #4C116A #72199F #9822D3

Accessibility & contrast

On white

13.16
#4C116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C116A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C116A#FFFFFF#000000##FFFFFF
##4C116A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#48283E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c116a;
/* rgb */ color: rgb(76, 17, 106);
/* oklch */ color: oklch(32.9% 0.145 310.7);
Tailwind
colors: {
  custom: {
    50: '#825795',
    500: '#4c116a',
    950: '#000000',
  },
}
SCSS
$custom: #4c116a;
$custom-light: #825795;
$custom-dark: #000000;
JSON
{
  "hex": "#4c116a",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 279.775,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.14489,
    "h": 310.7
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#4C116A
secondary
#5AA235
accent
#EF3976
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C116A

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

Preview Lab → · Contrast checker → · Palette generator →

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