#4C1477#4C1477

#4C1477 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.155 H 304.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#4C1477
RGBrgb(76, 20, 119)
HSLhsl(274, 71%, 27%)
HSVhsv(274, 83%, 47%)
CMYKcmyk(36.1%, 83.2%, 0%, 53.3%)
CIE-LABlab(21.46, 43.61, -44.67)
CIE-LCHlch(21.46, 62.43, 314.31°)
OKLaboklab(34.29% 0.0884 -0.1273)
OKLCHoklch(34.29% 0.155 304.8)
XYZxyz(6.5597, 3.3688, 17.7538)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1477 #3F7714
analogous
#1A1477 #4C1477 #771471
triadic
#4C1477 #774C14 #14774C
tetradic
#4C1477 #771A14 #3F7714 #147177
square
#4C1477 #771A14 #3F7714 #147177
split-complementary
#4C1477 #717714 #14771A
monochromatic
#11041A #2B0B43 #4C1477 #6D1DAB #8E2ADB

Accessibility & contrast

On white

12.55
#4C1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4C1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1477
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1477#FFFFFF#000000##FFFFFF
##4C14771.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#442F46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1477;
/* rgb */ color: rgb(76, 20, 119);
/* oklch */ color: oklch(34.3% 0.155 304.8);
Tailwind
colors: {
  custom: {
    50: '#83599f',
    500: '#4c1477',
    950: '#000000',
  },
}
SCSS
$custom: #4c1477;
$custom-light: #83599f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1477",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 273.939,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34288,
    "c": 0.15502,
    "h": 304.8
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#4C1477
secondary
#6CAD3A
accent
#EE3A88
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4C1477

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

Preview Lab → · Contrast checker → · Palette generator →

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