#4A114D#4A114D

#4A114D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.116 H 325.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#4A114D
RGBrgb(74, 17, 77)
HSLhsl(297, 64%, 18%)
HSVhsv(297, 78%, 30%)
CMYKcmyk(3.9%, 77.9%, 0%, 69.8%)
CIE-LABlab(17.43, 34.96, -23.44)
CIE-LCHlch(17.43, 42.09, 326.16°)
OKLaboklab(30.33% 0.0959 -0.0651)
OKLCHoklch(30.33% 0.116 325.8)
XYZxyz(4.3640, 2.3929, 7.2518)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A114D #144D11
analogous
#2C114D #4A114D #4D1132
triadic
#4A114D #4D4A11 #114D4A
tetradic
#4A114D #4D2C11 #144D11 #11324D
square
#4A114D #4D2C11 #144D11 #11324D
split-complementary
#4A114D #324D11 #114D2C
monochromatic
#180619 #1A061B #4A114D #7A1C7F #AA27B1

Accessibility & contrast

On white

14.20
#4A114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A114D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A114D#FFFFFF#000000##FFFFFF
##4A114D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264F
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#4C1B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a114d;
/* rgb */ color: rgb(74, 17, 77);
/* oklch */ color: oklch(30.3% 0.116 325.8);
Tailwind
colors: {
  custom: {
    50: '#7f567f',
    500: '#4a114d',
    950: '#000000',
  },
}
SCSS
$custom: #4a114d;
$custom-light: #7f567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a114d",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 297,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30333,
    "c": 0.11589,
    "h": 325.8
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#4A114D
secondary
#388633
accent
#E74149
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A114D

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

Preview Lab → · Contrast checker → · Palette generator →

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