#4C1644#4C1644

#4C1644 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.102 H 334.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4C1644
RGBrgb(76, 22, 68)
HSLhsl(309, 55%, 19%)
HSVhsv(309, 71%, 30%)
CMYKcmyk(0%, 71.1%, 10.5%, 70.2%)
CIE-LABlab(18.04, 31.57, -16.24)
CIE-LCHlch(18.04, 35.50, 332.77°)
OKLaboklab(30.68% 0.0914 -0.0443)
OKLCHoklch(30.68% 0.102 334.1)
XYZxyz(4.3108, 2.5280, 5.7286)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1644 #164C1E
analogous
#39164C #4C1644 #4C1629
triadic
#4C1644 #444C16 #16444C
tetradic
#4C1644 #4C3916 #164C1E #16294C
square
#4C1644 #4C3916 #164C1E #16294C
split-complementary
#4C1644 #294C16 #164C39
monochromatic
#180715 #1D081A #4C1644 #7B246E #AB3199

Accessibility & contrast

On white

13.95
#4C1644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C1644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1644
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1644#FFFFFF#000000##FFFFFF
##4C16441.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152745
Deuteranopia (green-blind)
#272F43
Tritanopia (blue-blind)
#501A2A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1644;
/* rgb */ color: rgb(76, 22, 68);
/* oklch */ color: oklch(30.7% 0.102 334.1);
Tailwind
colors: {
  custom: {
    50: '#805878',
    500: '#4c1644',
    950: '#000000',
  },
}
SCSS
$custom: #4c1644;
$custom-light: #805878;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1644",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 308.889,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30676,
    "c": 0.10161,
    "h": 334.1
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#4C1644
secondary
#3A8445
accent
#DE5F49
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1644

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

Preview Lab → · Contrast checker → · Palette generator →

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