#4A1145#4A1145

#4A1145 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.109 H 331.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4A1145
RGBrgb(74, 17, 69)
HSLhsl(305, 63%, 18%)
HSVhsv(305, 77%, 29%)
CMYKcmyk(0%, 77%, 6.8%, 71%)
CIE-LABlab(16.93, 33.42, -18.72)
CIE-LCHlch(16.93, 38.30, 330.74°)
OKLaboklab(29.81% 0.0956 -0.0514)
OKLCHoklch(29.81% 0.109 331.7)
XYZxyz(4.0987, 2.2867, 5.8546)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1145 #114A16
analogous
#32114A #4A1145 #4A1128
triadic
#4A1145 #454A11 #11454A
tetradic
#4A1145 #4A3211 #114A16 #11284A
square
#4A1145 #4A3211 #114A16 #11284A
split-complementary
#4A1145 #284A11 #114A32
monochromatic
#190617 #190617 #4A1145 #7C1C73 #AE28A2

Accessibility & contrast

On white

14.41
#4A1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4A1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1145
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1145#FFFFFF#000000##FFFFFF
##4A11451.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2546
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#4D1729
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1145;
/* rgb */ color: rgb(74, 17, 69);
/* oklch */ color: oklch(29.8% 0.109 331.7);
Tailwind
colors: {
  custom: {
    50: '#7f5579',
    500: '#4a1145',
    950: '#000000',
  },
}
SCSS
$custom: #4a1145;
$custom-light: #7f5579;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1145",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 305.263,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29811,
    "c": 0.10858,
    "h": 331.7
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#4A1145
secondary
#33833A
accent
#E65042
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A1145

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

Preview Lab → · Contrast checker → · Palette generator →

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