#4C1071#4C1071

#4C1071 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 307.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4C1071
RGBrgb(76, 16, 113)
HSLhsl(277, 75%, 25%)
HSVhsv(277, 86%, 44%)
CMYKcmyk(32.7%, 85.8%, 0%, 55.7%)
CIE-LABlab(20.44, 43.63, -42.48)
CIE-LCHlch(20.44, 60.89, 315.76°)
OKLaboklab(33.41% 0.0934 -0.1209)
OKLCHoklch(33.41% 0.153 307.7)
XYZxyz(6.1458, 3.0994, 15.8941)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1071 #357110
analogous
#1B1071 #4C1071 #711066
triadic
#4C1071 #714C10 #10714C
tetradic
#4C1071 #711B10 #357110 #106671
square
#4C1071 #711B10 #357110 #106671
split-complementary
#4C1071 #667110 #10711B
monochromatic
#12041B #28083B #4C1071 #7018A7 #941FDC

Accessibility & contrast

On white

12.96
#4C1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1071
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1071#FFFFFF#000000##FFFFFF
##4C10711.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#462A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1071;
/* rgb */ color: rgb(76, 16, 113);
/* oklch */ color: oklch(33.4% 0.153 307.7);
Tailwind
colors: {
  custom: {
    50: '#83589b',
    500: '#4c1071',
    950: '#000000',
  },
}
SCSS
$custom: #4c1071;
$custom-light: #83589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1071",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 277.113,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.15275,
    "h": 307.7
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#4C1071
secondary
#61A934
accent
#F2367E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1071

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

Preview Lab → · Contrast checker → · Palette generator →

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