#4A144A#4A144A

#4A144A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.109 H 327.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4A144A
RGBrgb(74, 20, 74)
HSLhsl(300, 57%, 18%)
HSVhsv(300, 73%, 29%)
CMYKcmyk(0%, 73%, 0%, 71%)
CIE-LABlab(17.70, 33.06, -20.96)
CIE-LCHlch(17.70, 39.15, 327.63°)
OKLaboklab(30.46% 0.0922 -0.0579)
OKLCHoklch(30.46% 0.109 327.8)
XYZxyz(4.3102, 2.4509, 6.7233)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A144A #144A14
analogous
#2F144A #4A144A #4A142F
triadic
#4A144A #4A4A14 #144A4A
tetradic
#4A144A #4A2F14 #144A14 #142F4A
square
#4A144A #4A2F14 #144A14 #142F4A
split-complementary
#4A144A #2F4A14 #144A2F
monochromatic
#180718 #1A071A #4A144A #7A217A #AA2EAA

Accessibility & contrast

On white

14.09
#4A144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4A144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A144A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A144A#FFFFFF#000000##FFFFFF
##4A144A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#4C1B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a144a;
/* rgb */ color: rgb(74, 20, 74);
/* oklch */ color: oklch(30.5% 0.109 327.8);
Tailwind
colors: {
  custom: {
    50: '#7f577d',
    500: '#4a144a',
    950: '#000000',
  },
}
SCSS
$custom: #4a144a;
$custom-light: #7f577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a144a",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.10887,
    "h": 327.8
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#4A144A
secondary
#388238
accent
#E14747
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A144A

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

Preview Lab → · Contrast checker → · Palette generator →

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