#4C1046#4C1046

#4C1046 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.112 H 332.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4C1046
RGBrgb(76, 16, 70)
HSLhsl(306, 65%, 18%)
HSVhsv(306, 79%, 30%)
CMYKcmyk(0%, 78.9%, 7.9%, 70.2%)
CIE-LABlab(17.22, 34.56, -18.92)
CIE-LCHlch(17.22, 39.39, 331.30°)
OKLaboklab(30.12% 0.0993 -0.0519)
OKLCHoklch(30.12% 0.112 332.4)
XYZxyz(4.2713, 2.3496, 6.0217)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1046 #104C16
analogous
#34104C #4C1046 #4C1028
triadic
#4C1046 #464C10 #10464C
tetradic
#4C1046 #4C3410 #104C16 #10284C
square
#4C1046 #4C3410 #104C16 #10284C
split-complementary
#4C1046 #284C10 #104C34
monochromatic
#190517 #190517 #4C1046 #7F1B75 #B125A3

Accessibility & contrast

On white

14.29
#4C1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1046
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1046#FFFFFF#000000##FFFFFF
##4C10461.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2547
Deuteranopia (green-blind)
#232D45
Tritanopia (blue-blind)
#501629
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1046;
/* rgb */ color: rgb(76, 16, 70);
/* oklch */ color: oklch(30.1% 0.112 332.4);
Tailwind
colors: {
  custom: {
    50: '#815579',
    500: '#4c1046',
    950: '#000000',
  },
}
SCSS
$custom: #4c1046;
$custom-light: #815579;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1046",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 306,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.11208,
    "h": 332.4
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#4C1046
secondary
#32863A
accent
#E85040
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1046

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

Preview Lab → · Contrast checker → · Palette generator →

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