#4A114C#4A114C

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

Color values

HEX#4A114C
RGBrgb(74, 17, 76)
HSLhsl(298, 63%, 18%)
HSVhsv(298, 78%, 30%)
CMYKcmyk(2.6%, 77.6%, 0%, 70.2%)
CIE-LABlab(17.36, 34.76, -22.86)
CIE-LCHlch(17.36, 41.60, 326.67°)
OKLaboklab(30.26% 0.0959 -0.0634)
OKLCHoklch(30.26% 0.115 326.5)
XYZxyz(4.3289, 2.3788, 7.0672)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A114C #134C11
analogous
#2C114C #4A114C #4C1130
triadic
#4A114C #4C4A11 #114C4A
tetradic
#4A114C #4C2C11 #134C11 #11304C
square
#4A114C #4C2C11 #134C11 #11304C
split-complementary
#4A114C #304C11 #114C2C
monochromatic
#180619 #19061A #4A114C #7B1C7E #AB27B0

Accessibility & contrast

On white

14.23
#4A114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A114C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A114C#FFFFFF#000000##FFFFFF
##4A114C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264E
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#4C1A2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a114c;
/* rgb */ color: rgb(74, 17, 76);
/* oklch */ color: oklch(30.3% 0.115 326.5);
Tailwind
colors: {
  custom: {
    50: '#7f567e',
    500: '#4a114c',
    950: '#000000',
  },
}
SCSS
$custom: #4a114c;
$custom-light: #7f567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a114c",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 297.966,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.11495,
    "h": 326.5
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#4A114C
secondary
#368533
accent
#E64147
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A114C

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

Preview Lab → · Contrast checker → · Palette generator →

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