#4C1373#4C1373

#4C1373 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.152 H 306.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#4C1373
RGBrgb(76, 19, 115)
HSLhsl(276, 72%, 26%)
HSVhsv(276, 83%, 45%)
CMYKcmyk(33.9%, 83.5%, 0%, 54.9%)
CIE-LABlab(20.98, 43.03, -42.89)
CIE-LCHlch(20.98, 60.75, 315.09°)
OKLaboklab(33.84% 0.0904 -0.1221)
OKLCHoklch(33.84% 0.152 306.5)
XYZxyz(6.3072, 3.2401, 16.5095)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1373 #3A7313
analogous
#1C1373 #4C1373 #73136A
triadic
#4C1373 #734C13 #13734C
tetradic
#4C1373 #731C13 #3A7313 #136A73
square
#4C1373 #731C13 #3A7313 #136A73
split-complementary
#4C1373 #6A7313 #13731C
monochromatic
#11041A #290A3E #4C1373 #6F1CA8 #9125DB

Accessibility & contrast

On white

12.74
#4C1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4C1373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1373
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1373#FFFFFF#000000##FFFFFF
##4C13731.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#452C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1373;
/* rgb */ color: rgb(76, 19, 115);
/* oklch */ color: oklch(33.8% 0.152 306.5);
Tailwind
colors: {
  custom: {
    50: '#83599c',
    500: '#4c1373',
    950: '#000000',
  },
}
SCSS
$custom: #4c1373;
$custom-light: #83599c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1373",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 275.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33841,
    "c": 0.15192,
    "h": 306.5
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#4C1373
secondary
#66AA38
accent
#EE3983
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1373

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

Preview Lab → · Contrast checker → · Palette generator →

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