#4A114A#4A114A

#4A114A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.113 H 327.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4A114A
RGBrgb(74, 17, 74)
HSLhsl(300, 63%, 18%)
HSVhsv(300, 77%, 29%)
CMYKcmyk(0%, 77%, 0%, 71%)
CIE-LABlab(17.23, 34.37, -21.69)
CIE-LCHlch(17.23, 40.64, 327.75°)
OKLaboklab(30.13% 0.0959 -0.06)
OKLCHoklch(30.13% 0.113 327.9)
XYZxyz(4.2605, 2.3515, 6.7067)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A114A #114A11
analogous
#2D114A #4A114A #4A112D
triadic
#4A114A #4A4A11 #114A4A
tetradic
#4A114A #4A2D11 #114A11 #112D4A
square
#4A114A #4A2D11 #114A11 #112D4A
split-complementary
#4A114A #2D4A11 #114A2D
monochromatic
#190619 #190619 #4A114A #7C1C7C #AE28AE

Accessibility & contrast

On white

14.28
#4A114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4A114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A114A
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A114A#FFFFFF#000000##FFFFFF
##4A114A1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264C
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#4D192C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a114a;
/* rgb */ color: rgb(74, 17, 74);
/* oklch */ color: oklch(30.1% 0.113 327.9);
Tailwind
colors: {
  custom: {
    50: '#7f557d',
    500: '#4a114a',
    950: '#000000',
  },
}
SCSS
$custom: #4a114a;
$custom-light: #7f557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a114a",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30132,
    "c": 0.1131,
    "h": 327.9
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#4A114A
secondary
#338333
accent
#E64242
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A114A

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

Preview Lab → · Contrast checker → · Palette generator →

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