#4C1067#4C1067

#4C1067 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.143 H 312.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4C1067
RGBrgb(76, 16, 103)
HSLhsl(281, 73%, 23%)
HSVhsv(281, 84%, 40%)
CMYKcmyk(26.2%, 84.5%, 0%, 59.6%)
CIE-LABlab(19.58, 41.34, -37.36)
CIE-LCHlch(19.58, 55.72, 317.89°)
OKLaboklab(32.55% 0.0961 -0.1058)
OKLCHoklch(32.55% 0.143 312.2)
XYZxyz(5.6135, 2.8865, 13.0908)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1067 #2B6710
analogous
#201067 #4C1067 #671056
triadic
#4C1067 #674C10 #10674C
tetradic
#4C1067 #672010 #2B6710 #105667
square
#4C1067 #672010 #2B6710 #105667
split-complementary
#4C1067 #566710 #106720
monochromatic
#14041A #250832 #4C1067 #73189C #9A20D1

Accessibility & contrast

On white

13.31
#4C1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1067
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1067#FFFFFF#000000##FFFFFF
##4C10671.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#003165
Tritanopia (blue-blind)
#49263C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1067;
/* rgb */ color: rgb(76, 16, 103);
/* oklch */ color: oklch(32.5% 0.143 312.2);
Tailwind
colors: {
  custom: {
    50: '#825793',
    500: '#4c1067',
    950: '#000000',
  },
}
SCSS
$custom: #4c1067;
$custom-light: #825793;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1067",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 281.379,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.14295,
    "h": 312.2
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#4C1067
secondary
#559F33
accent
#F03871
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C1067

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

Preview Lab → · Contrast checker → · Palette generator →

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