#4C1844#4C1844

#4C1844 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.9% C 0.098 H 334.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4C1844
RGBrgb(76, 24, 68)
HSLhsl(309, 52%, 20%)
HSVhsv(309, 68%, 30%)
CMYKcmyk(0%, 68.4%, 10.5%, 70.2%)
CIE-LABlab(18.40, 30.59, -15.69)
CIE-LCHlch(18.40, 34.38, 332.84°)
OKLaboklab(30.93% 0.0886 -0.0428)
OKLCHoklch(30.93% 0.098 334.2)
XYZxyz(4.3505, 2.6075, 5.7419)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1844 #184C20
analogous
#3A184C #4C1844 #4C182A
triadic
#4C1844 #444C18 #18444C
tetradic
#4C1844 #4C3A18 #184C20 #182A4C
square
#4C1844 #4C3A18 #184C20 #182A4C
split-complementary
#4C1844 #2A4C18 #184C3A
monochromatic
#170715 #1D091A #4C1844 #7B276E #A93597

Accessibility & contrast

On white

13.80
#4C1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C1844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1844
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1844#FFFFFF#000000##FFFFFF
##4C18441.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172845
Deuteranopia (green-blind)
#283043
Tritanopia (blue-blind)
#501C2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1844;
/* rgb */ color: rgb(76, 24, 68);
/* oklch */ color: oklch(30.9% 0.098 334.2);
Tailwind
colors: {
  custom: {
    50: '#805978',
    500: '#4c1844',
    950: '#000000',
  },
}
SCSS
$custom: #4c1844;
$custom-light: #805978;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1844",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 309.231,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.09836,
    "h": 334.2
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#4C1844
secondary
#3D8348
accent
#DB624C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4C1844

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

Preview Lab → · Contrast checker → · Palette generator →

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