#4C1146#4C1146

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

Color values

HEX#4C1146
RGBrgb(76, 17, 70)
HSLhsl(306, 63%, 18%)
HSVhsv(306, 78%, 30%)
CMYKcmyk(0%, 77.6%, 7.9%, 70.2%)
CIE-LABlab(17.37, 34.15, -18.69)
CIE-LCHlch(17.37, 38.93, 331.31°)
OKLaboklab(30.22% 0.0981 -0.0513)
OKLCHoklch(30.22% 0.111 332.4)
XYZxyz(4.2864, 2.3799, 6.0268)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1146 #114C17
analogous
#34114C #4C1146 #4C1128
triadic
#4C1146 #464C11 #11464C
tetradic
#4C1146 #4C3411 #114C17 #11284C
square
#4C1146 #4C3411 #114C17 #11284C
split-complementary
#4C1146 #284C11 #114C34
monochromatic
#190617 #1A0618 #4C1146 #7E1C74 #B027A2

Accessibility & contrast

On white

14.23
#4C1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C1146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1146
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1146#FFFFFF#000000##FFFFFF
##4C11461.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2547
Deuteranopia (green-blind)
#242E45
Tritanopia (blue-blind)
#50172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1146;
/* rgb */ color: rgb(76, 17, 70);
/* oklch */ color: oklch(30.2% 0.111 332.4);
Tailwind
colors: {
  custom: {
    50: '#805679',
    500: '#4c1146',
    950: '#000000',
  },
}
SCSS
$custom: #4c1146;
$custom-light: #805679;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1146",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 306.102,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30222,
    "c": 0.11074,
    "h": 332.4
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#4C1146
secondary
#33853C
accent
#E65241
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1146

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

Preview Lab → · Contrast checker → · Palette generator →

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