#4C144E#4C144E

#4C144E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.114 H 326.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#4C144E
RGBrgb(76, 20, 78)
HSLhsl(298, 59%, 19%)
HSVhsv(298, 74%, 31%)
CMYKcmyk(2.6%, 74.4%, 0%, 69.4%)
CIE-LABlab(18.31, 34.41, -22.70)
CIE-LCHlch(18.31, 41.22, 326.59°)
OKLaboklab(31.06% 0.0949 -0.0629)
OKLCHoklch(31.06% 0.114 326.4)
XYZxyz(4.6057, 2.5872, 7.4630)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C144E #164E14
analogous
#2F144E #4C144E #4E1433
triadic
#4C144E #4E4C14 #144E4C
tetradic
#4C144E #4E2F14 #164E14 #14334E
square
#4C144E #4E2F14 #164E14 #14334E
split-complementary
#4C144E #334E14 #144E2F
monochromatic
#180618 #1D081D #4C144E #7B207F #AB2DAF

Accessibility & contrast

On white

13.84
#4C144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C144E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C144E#FFFFFF#000000##FFFFFF
##4C144E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#4E1D2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c144e;
/* rgb */ color: rgb(76, 20, 78);
/* oklch */ color: oklch(31.1% 0.114 326.4);
Tailwind
colors: {
  custom: {
    50: '#805780',
    500: '#4c144e',
    950: '#000000',
  },
}
SCSS
$custom: #4c144e;
$custom-light: #805780;
$custom-dark: #000000;
JSON
{
  "hex": "#4c144e",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 297.931,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.11384,
    "h": 326.4
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#4C144E
secondary
#3A8638
accent
#E2454B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C144E

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

Preview Lab → · Contrast checker → · Palette generator →

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