#4A114F#4A114F

#4A114F is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.118 H 324.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#4A114F
RGBrgb(74, 17, 79)
HSLhsl(295, 65%, 19%)
HSVhsv(295, 78%, 31%)
CMYKcmyk(6.3%, 78.5%, 0%, 69%)
CIE-LABlab(17.56, 35.36, -24.59)
CIE-LCHlch(17.56, 43.07, 325.18°)
OKLaboklab(30.47% 0.0958 -0.0685)
OKLCHoklch(30.47% 0.118 324.4)
XYZxyz(4.4357, 2.4215, 7.6294)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A114F #164F11
analogous
#2B114F #4A114F #4F1135
triadic
#4A114F #4F4A11 #114F4A
tetradic
#4A114F #4F2B11 #164F11 #11354F
square
#4A114F #4F2B11 #164F11 #11354F
split-complementary
#4A114F #354F11 #114F2B
monochromatic
#180519 #1B061D #4A114F #791C81 #A827B4

Accessibility & contrast

On white

14.15
#4A114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A114F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A114F#FFFFFF#000000##FFFFFF
##4A114F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#4C1C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a114f;
/* rgb */ color: rgb(74, 17, 79);
/* oklch */ color: oklch(30.5% 0.118 324.4);
Tailwind
colors: {
  custom: {
    50: '#7f5681',
    500: '#4a114f',
    950: '#000000',
  },
}
SCSS
$custom: #4a114f;
$custom-light: #7f5681;
$custom-dark: #000000;
JSON
{
  "hex": "#4a114f",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 295.161,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30471,
    "c": 0.11777,
    "h": 324.4
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#4A114F
secondary
#3A8833
accent
#E8404E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A114F

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

Preview Lab → · Contrast checker → · Palette generator →

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