#4A144E#4A144E

#4A144E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.113 H 325.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#4A144E
RGBrgb(74, 20, 78)
HSLhsl(296, 59%, 19%)
HSVhsv(296, 74%, 31%)
CMYKcmyk(5.1%, 74.4%, 0%, 69.4%)
CIE-LABlab(17.95, 33.87, -23.29)
CIE-LCHlch(17.95, 41.11, 325.49°)
OKLaboklab(30.73% 0.0923 -0.0647)
OKLCHoklch(30.73% 0.113 325)
XYZxyz(4.4492, 2.5065, 7.4557)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A144E #184E14
analogous
#2D144E #4A144E #4E1435
triadic
#4A144E #4E4A14 #144E4A
tetradic
#4A144E #4E2D14 #184E14 #14354E
square
#4A144E #4E2D14 #184E14 #14354E
split-complementary
#4A144E #354E14 #144E2D
monochromatic
#170618 #1C081D #4A144E #78207F #A62DAF

Accessibility & contrast

On white

13.99
#4A144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A144E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A144E#FFFFFF#000000##FFFFFF
##4A144E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#4C1D2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a144e;
/* rgb */ color: rgb(74, 20, 78);
/* oklch */ color: oklch(30.7% 0.113 325.0);
Tailwind
colors: {
  custom: {
    50: '#7f5780',
    500: '#4a144e',
    950: '#000000',
  },
}
SCSS
$custom: #4a144e;
$custom-light: #7f5780;
$custom-dark: #000000;
JSON
{
  "hex": "#4a144e",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 295.862,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30728,
    "c": 0.11271,
    "h": 325
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#4A144E
secondary
#3D8638
accent
#E24550
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A144E

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

Preview Lab → · Contrast checker → · Palette generator →

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