#4A2C4A#4A2C4A

#4A2C4A is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.3% C 0.064 H 326.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#4A2C4A
RGBrgb(74, 44, 74)
HSLhsl(300, 25%, 23%)
HSVhsv(300, 41%, 29%)
CMYKcmyk(0%, 40.5%, 0%, 71%)
CIE-LABlab(22.83, 19.47, -12.94)
CIE-LCHlch(22.83, 23.38, 326.40°)
OKLaboklab(34.26% 0.0539 -0.0352)
OKLCHoklch(34.26% 0.064 326.9)
XYZxyz(4.9607, 3.7518, 6.9401)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C4A #2C4A2C
analogous
#3B2C4A #4A2C4A #4A2C3B
triadic
#4A2C4A #4A4A2C #2C4A4A
tetradic
#4A2C4A #4A3B2C #2C4A2C #2C3B4A
square
#4A2C4A #4A3B2C #2C4A2C #2C3B4A
split-complementary
#4A2C4A #3B4A2C #2C4A3B
monochromatic
#130B13 #241524 #4A2C4A #704370 #975A97

Accessibility & contrast

On white

12.00
#4A2C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4A2C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C4A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C4A#FFFFFF#000000##FFFFFF
##4A2C4A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A344B
Deuteranopia (green-blind)
#313849
Tritanopia (blue-blind)
#4C2F37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4a2c4a;
/* rgb */ color: rgb(74, 44, 74);
/* oklch */ color: oklch(34.3% 0.064 326.9);
Tailwind
colors: {
  custom: {
    50: '#7d667c',
    500: '#4a2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c4a;
$custom-light: #7d667c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c4a",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 25.424,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34259,
    "c": 0.0644,
    "h": 326.9
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#4A2C4A
secondary
#567C56
accent
#C26666
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4A2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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