#4A1146#4A1146

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

Color values

HEX#4A1146
RGBrgb(74, 17, 70)
HSLhsl(304, 63%, 18%)
HSVhsv(304, 77%, 29%)
CMYKcmyk(0%, 77%, 5.4%, 71%)
CIE-LABlab(16.99, 33.60, -19.32)
CIE-LCHlch(16.99, 38.76, 330.11°)
OKLaboklab(29.87% 0.0957 -0.0532)
OKLCHoklch(29.87% 0.109 330.9)
XYZxyz(4.1300, 2.2993, 6.0194)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1146 #114A15
analogous
#32114A #4A1146 #4A1129
triadic
#4A1146 #464A11 #11464A
tetradic
#4A1146 #4A3211 #114A15 #11294A
square
#4A1146 #4A3211 #114A15 #11294A
split-complementary
#4A1146 #294A11 #114A32
monochromatic
#190618 #190618 #4A1146 #7C1C75 #AE28A4

Accessibility & contrast

On white

14.39
#4A1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1146
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1146#FFFFFF#000000##FFFFFF
##4A11461.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#222D45
Tritanopia (blue-blind)
#4D182A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1146;
/* rgb */ color: rgb(74, 17, 70);
/* oklch */ color: oklch(29.9% 0.109 330.9);
Tailwind
colors: {
  custom: {
    50: '#7f5579',
    500: '#4a1146',
    950: '#000000',
  },
}
SCSS
$custom: #4a1146;
$custom-light: #7f5579;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1146",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 304.211,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29873,
    "c": 0.10947,
    "h": 330.9
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#4A1146
secondary
#338339
accent
#E64E42
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A1146

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

Preview Lab → · Contrast checker → · Palette generator →

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