#4A1143#4A1143

#4A1143 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.107 H 333.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#4A1143
RGBrgb(74, 17, 67)
HSLhsl(307, 63%, 18%)
HSVhsv(307, 77%, 29%)
CMYKcmyk(0%, 77%, 9.5%, 71%)
CIE-LABlab(16.81, 33.05, -17.51)
CIE-LCHlch(16.81, 37.40, 332.08°)
OKLaboklab(29.69% 0.0954 -0.048)
OKLCHoklch(29.69% 0.107 333.3)
XYZxyz(4.0376, 2.2623, 5.5331)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1143 #114A18
analogous
#34114A #4A1143 #4A1127
triadic
#4A1143 #434A11 #11434A
tetradic
#4A1143 #4A3411 #114A18 #11274A
square
#4A1143 #4A3411 #114A18 #11274A
split-complementary
#4A1143 #274A11 #114A34
monochromatic
#190617 #190617 #4A1143 #7C1C70 #AE289D

Accessibility & contrast

On white

14.46
#4A1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1143
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1143#FFFFFF#000000##FFFFFF
##4A11431.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2444
Deuteranopia (green-blind)
#232C42
Tritanopia (blue-blind)
#4E1628
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1143;
/* rgb */ color: rgb(74, 17, 67);
/* oklch */ color: oklch(29.7% 0.107 333.3);
Tailwind
colors: {
  custom: {
    50: '#7f5577',
    500: '#4a1143',
    950: '#000000',
  },
}
SCSS
$custom: #4a1143;
$custom-light: #7f5577;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1143",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 307.368,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29687,
    "c": 0.10683,
    "h": 333.3
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#4A1143
secondary
#33833D
accent
#E65642
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1143

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

Preview Lab → · Contrast checker → · Palette generator →

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