#4C1C76#4C1C76

#4C1C76 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.145 H 304.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#4C1C76
RGBrgb(76, 28, 118)
HSLhsl(272, 62%, 29%)
HSVhsv(272, 76%, 46%)
CMYKcmyk(35.6%, 76.3%, 0%, 53.7%)
CIE-LABlab(22.57, 39.95, -42.23)
CIE-LCHlch(22.57, 58.14, 313.41°)
OKLaboklab(35.03% 0.0812 -0.1202)
OKLCHoklch(35.03% 0.145 304)
XYZxyz(6.6650, 3.6750, 17.4943)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1C76 #46761C
analogous
#1F1C76 #4C1C76 #761C73
triadic
#4C1C76 #764C1C #1C764C
tetradic
#4C1C76 #761F1C #46761C #1C7376
square
#4C1C76 #761F1C #46761C #1C7376
split-complementary
#4C1C76 #73761C #1C761F
monochromatic
#100619 #2C1045 #4C1C76 #6C28A7 #8B3CD1

Accessibility & contrast

On white

12.10
#4C1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4C1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1C76
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1C76#FFFFFF#000000##FFFFFF
##4C1C761.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#443247
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c1c76;
/* rgb */ color: rgb(76, 28, 118);
/* oklch */ color: oklch(35.0% 0.145 304.0);
Tailwind
colors: {
  custom: {
    50: '#825d9e',
    500: '#4c1c76',
    950: '#000000',
  },
}
SCSS
$custom: #4c1c76;
$custom-light: #825d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1c76",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 272,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35035,
    "c": 0.14509,
    "h": 304
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#4C1C76
secondary
#73AA44
accent
#E5438F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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