#4C1073#4C1073

#4C1073 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.155 H 306.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4C1073
RGBrgb(76, 16, 115)
HSLhsl(276, 76%, 26%)
HSVhsv(276, 86%, 45%)
CMYKcmyk(33.9%, 86.1%, 0%, 54.9%)
CIE-LABlab(20.62, 44.09, -43.48)
CIE-LCHlch(20.62, 61.93, 315.40°)
OKLaboklab(33.59% 0.0928 -0.1238)
OKLCHoklch(33.59% 0.155 306.8)
XYZxyz(6.2596, 3.1450, 16.4936)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1073 #377310
analogous
#1B1073 #4C1073 #731068
triadic
#4C1073 #734C10 #10734C
tetradic
#4C1073 #731B10 #377310 #106873
square
#4C1073 #731B10 #377310 #106873
split-complementary
#4C1073 #687310 #10731B
monochromatic
#12041B #28093D #4C1073 #7017A9 #931FDE

Accessibility & contrast

On white

12.89
#4C1073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4C1073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1073
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1073#FFFFFF#000000##FFFFFF
##4C10731.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#452B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1073;
/* rgb */ color: rgb(76, 16, 115);
/* oklch */ color: oklch(33.6% 0.155 306.8);
Tailwind
colors: {
  custom: {
    50: '#83589c',
    500: '#4c1073',
    950: '#000000',
  },
}
SCSS
$custom: #4c1073;
$custom-light: #83589c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1073",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 276.364,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33587,
    "c": 0.15472,
    "h": 306.8
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#4C1073
secondary
#63AA34
accent
#F23680
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1073

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

Preview Lab → · Contrast checker → · Palette generator →

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