#4C144F#4C144F

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

Color values

HEX#4C144F
RGBrgb(76, 20, 79)
HSLhsl(297, 60%, 19%)
HSVhsv(297, 75%, 31%)
CMYKcmyk(3.8%, 74.7%, 0%, 69%)
CIE-LABlab(18.37, 34.61, -23.28)
CIE-LCHlch(18.37, 41.71, 326.07°)
OKLaboklab(31.13% 0.0949 -0.0646)
OKLCHoklch(31.13% 0.115 325.7)
XYZxyz(4.6418, 2.6016, 7.6533)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C144F #174F14
analogous
#2F144F #4C144F #4F1435
triadic
#4C144F #4F4C14 #144F4C
tetradic
#4C144F #4F2F14 #174F14 #14354F
square
#4C144F #4F2F14 #174F14 #14354F
split-complementary
#4C144F #354F14 #144F2F
monochromatic
#170618 #1D081E #4C144F #7B2080 #AA2DB1

Accessibility & contrast

On white

13.81
#4C144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C144F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C144F#FFFFFF#000000##FFFFFF
##4C144F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082851
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#4E1D2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c144f;
/* rgb */ color: rgb(76, 20, 79);
/* oklch */ color: oklch(31.1% 0.115 325.7);
Tailwind
colors: {
  custom: {
    50: '#805780',
    500: '#4c144f',
    950: '#000000',
  },
}
SCSS
$custom: #4c144f;
$custom-light: #805780;
$custom-dark: #000000;
JSON
{
  "hex": "#4c144f",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 296.949,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31125,
    "c": 0.1148,
    "h": 325.7
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#4C144F
secondary
#3C8738
accent
#E3454D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C144F

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

Preview Lab → · Contrast checker → · Palette generator →

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