#4A113E#4A113E

#4A113E is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.103 H 337.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#4A113E
RGBrgb(74, 17, 62)
HSLhsl(313, 63%, 18%)
HSVhsv(313, 77%, 29%)
CMYKcmyk(0%, 77%, 16.2%, 71%)
CIE-LABlab(16.53, 32.16, -14.46)
CIE-LCHlch(16.53, 35.26, 335.80°)
OKLaboklab(29.39% 0.0948 -0.0392)
OKLCHoklch(29.39% 0.103 337.5)
XYZxyz(3.8941, 2.2049, 4.7770)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A113E #114A1D
analogous
#39114A #4A113E #4A1121
triadic
#4A113E #3E4A11 #113E4A
tetradic
#4A113E #4A3911 #114A1D #11214A
square
#4A113E #4A3911 #114A1D #11214A
split-complementary
#4A113E #214A11 #114A39
monochromatic
#190615 #190615 #4A113E #7C1C68 #AE2891

Accessibility & contrast

On white

14.57
#4A113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A113E
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A113E#FFFFFF#000000##FFFFFF
##4A113E1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#262C3D
Tritanopia (blue-blind)
#4E1425
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a113e;
/* rgb */ color: rgb(74, 17, 62);
/* oklch */ color: oklch(29.4% 0.103 337.5);
Tailwind
colors: {
  custom: {
    50: '#7f5573',
    500: '#4a113e',
    950: '#000000',
  },
}
SCSS
$custom: #4a113e;
$custom-light: #7f5573;
$custom-dark: #000000;
JSON
{
  "hex": "#4a113e",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 312.632,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29394,
    "c": 0.10261,
    "h": 337.5
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#4A113E
secondary
#338344
accent
#E66542
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A113E

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

Preview Lab → · Contrast checker → · Palette generator →

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