#4A1142#4A1142

#4A1142 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.106 H 334.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4A1142
RGBrgb(74, 17, 66)
HSLhsl(308, 63%, 18%)
HSVhsv(308, 77%, 29%)
CMYKcmyk(0%, 77%, 10.8%, 71%)
CIE-LABlab(16.75, 32.87, -16.91)
CIE-LCHlch(16.75, 36.96, 332.78°)
OKLaboklab(29.63% 0.0953 -0.0462)
OKLCHoklch(29.63% 0.106 334.1)
XYZxyz(4.0079, 2.2504, 5.3765)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1142 #114A19
analogous
#35114A #4A1142 #4A1125
triadic
#4A1142 #424A11 #11424A
tetradic
#4A1142 #4A3511 #114A19 #11254A
square
#4A1142 #4A3511 #114A19 #11254A
split-complementary
#4A1142 #254A11 #114A35
monochromatic
#190616 #190616 #4A1142 #7C1C6E #AE289B

Accessibility & contrast

On white

14.48
#4A1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1142
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1142#FFFFFF#000000##FFFFFF
##4A11421.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#242C41
Tritanopia (blue-blind)
#4E1628
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1142;
/* rgb */ color: rgb(74, 17, 66);
/* oklch */ color: oklch(29.6% 0.106 334.1);
Tailwind
colors: {
  custom: {
    50: '#7f5576',
    500: '#4a1142',
    950: '#000000',
  },
}
SCSS
$custom: #4a1142;
$custom-light: #7f5576;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1142",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 308.421,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29627,
    "c": 0.10596,
    "h": 334.1
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#4A1142
secondary
#33833F
accent
#E65942
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1142

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

Preview Lab → · Contrast checker → · Palette generator →

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