#4C1076#4C1076

#4C1076 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.158 H 305.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4C1076
RGBrgb(76, 16, 118)
HSLhsl(275, 76%, 26%)
HSVhsv(275, 86%, 46%)
CMYKcmyk(35.6%, 86.4%, 0%, 53.7%)
CIE-LABlab(20.89, 44.80, -44.97)
CIE-LCHlch(20.89, 63.48, 314.89°)
OKLaboklab(33.86% 0.0918 -0.1282)
OKLCHoklch(33.86% 0.158 305.6)
XYZxyz(6.4351, 3.2151, 17.4176)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1076 #3A7610
analogous
#191076 #4C1076 #76106D
triadic
#4C1076 #764C10 #10764C
tetradic
#4C1076 #761910 #3A7610 #106D76
square
#4C1076 #761910 #3A7610 #106D76
split-complementary
#4C1076 #6D7610 #107619
monochromatic
#11041B #290940 #4C1076 #6F17AC #9120E1

Accessibility & contrast

On white

12.78
#4C1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4C1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1076
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1076#FFFFFF#000000##FFFFFF
##4C10761.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#442D45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1076;
/* rgb */ color: rgb(76, 16, 118);
/* oklch */ color: oklch(33.9% 0.158 305.6);
Tailwind
colors: {
  custom: {
    50: '#83589e',
    500: '#4c1076',
    950: '#000000',
  },
}
SCSS
$custom: #4c1076;
$custom-light: #83589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1076",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 275.294,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33858,
    "c": 0.15768,
    "h": 305.6
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#4C1076
secondary
#66AD35
accent
#F33583
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1076

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

Preview Lab → · Contrast checker → · Palette generator →

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