#4C1E4E#4C1E4E

#4C1E4E is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 325.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#4C1E4E
RGBrgb(76, 30, 78)
HSLhsl(298, 44%, 21%)
HSVhsv(298, 62%, 31%)
CMYKcmyk(2.6%, 61.5%, 0%, 69.4%)
CIE-LABlab(20.11, 29.44, -19.86)
CIE-LCHlch(20.11, 35.51, 326.00°)
OKLaboklab(32.36% 0.081 -0.0548)
OKLCHoklch(32.36% 0.098 325.9)
XYZxyz(4.8198, 3.0154, 7.5344)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E4E #204E1E
analogous
#341E4E #4C1E4E #4E1E38
triadic
#4C1E4E #4E4C1E #1E4E4C
tetradic
#4C1E4E #4E341E #204E1E #1E384E
square
#4C1E4E #4E341E #204E1E #1E384E
split-complementary
#4C1E4E #384E1E #1E4E34
monochromatic
#160916 #210D22 #4C1E4E #772F7A #A240A6

Accessibility & contrast

On white

13.10
#4C1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C1E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E4E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E4E#FFFFFF#000000##FFFFFF
##4C1E4E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#4E2432
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1e4e;
/* rgb */ color: rgb(76, 30, 78);
/* oklch */ color: oklch(32.4% 0.098 325.9);
Tailwind
colors: {
  custom: {
    50: '#805d80',
    500: '#4c1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e4e;
$custom-light: #805d80;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e4e",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 297.5,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.0978,
    "h": 325.9
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#4C1E4E
secondary
#478345
accent
#D45459
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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