#4C1047#4C1047

#4C1047 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.113 H 331.6°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#4C1047
RGBrgb(76, 16, 71)
HSLhsl(305, 65%, 18%)
HSVhsv(305, 79%, 30%)
CMYKcmyk(0%, 78.9%, 6.6%, 70.2%)
CIE-LABlab(17.28, 34.74, -19.51)
CIE-LCHlch(17.28, 39.84, 330.68°)
OKLaboklab(30.18% 0.0994 -0.0537)
OKLCHoklch(30.18% 0.113 331.6)
XYZxyz(4.3031, 2.3624, 6.1894)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1047 #104C15
analogous
#33104C #4C1047 #4C1029
triadic
#4C1047 #474C10 #10474C
tetradic
#4C1047 #4C3310 #104C15 #10294C
square
#4C1047 #4C3310 #104C15 #10294C
split-complementary
#4C1047 #294C10 #104C33
monochromatic
#190518 #190518 #4C1047 #7F1B76 #B125A5

Accessibility & contrast

On white

14.26
#4C1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1047
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1047#FFFFFF#000000##FFFFFF
##4C10471.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2549
Deuteranopia (green-blind)
#232D46
Tritanopia (blue-blind)
#4F172A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1047;
/* rgb */ color: rgb(76, 16, 71);
/* oklch */ color: oklch(30.2% 0.113 331.6);
Tailwind
colors: {
  custom: {
    50: '#81557a',
    500: '#4c1047',
    950: '#000000',
  },
}
SCSS
$custom: #4c1047;
$custom-light: #81557a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1047",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 305,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30182,
    "c": 0.11294,
    "h": 331.6
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#4C1047
secondary
#328639
accent
#E84E40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1047

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

Preview Lab → · Contrast checker → · Palette generator →

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