#4C1374#4C1374

#4C1374 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.153 H 306.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#4C1374
RGBrgb(76, 19, 116)
HSLhsl(275, 72%, 26%)
HSVhsv(275, 84%, 45%)
CMYKcmyk(34.5%, 83.6%, 0%, 54.5%)
CIE-LABlab(21.07, 43.26, -43.39)
CIE-LCHlch(21.07, 61.27, 314.92°)
OKLaboklab(33.93% 0.0901 -0.1236)
OKLCHoklch(33.93% 0.153 306.1)
XYZxyz(6.3650, 3.2633, 16.8142)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1374 #3B7413
analogous
#1C1374 #4C1374 #74136C
triadic
#4C1374 #744C13 #13744C
tetradic
#4C1374 #741C13 #3B7413 #136C74
square
#4C1374 #741C13 #3B7413 #136C74
split-complementary
#4C1374 #6C7413 #13741C
monochromatic
#11041A #2A0A3F #4C1374 #6E1CA9 #9126DB

Accessibility & contrast

On white

12.71
#4C1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1374
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1374#FFFFFF#000000##FFFFFF
##4C13741.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#452D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1374;
/* rgb */ color: rgb(76, 19, 116);
/* oklch */ color: oklch(33.9% 0.153 306.1);
Tailwind
colors: {
  custom: {
    50: '#83599d',
    500: '#4c1374',
    950: '#000000',
  },
}
SCSS
$custom: #4c1374;
$custom-light: #83599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1374",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 275.258,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.15293,
    "h": 306.1
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#4C1374
secondary
#67AA38
accent
#EF3984
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1374

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

Preview Lab → · Contrast checker → · Palette generator →

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