#4A2E4A#4A2E4A

#4A2E4A is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.7% C 0.060 H 326.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#4A2E4A
RGBrgb(74, 46, 74)
HSLhsl(300, 23%, 24%)
HSVhsv(300, 38%, 29%)
CMYKcmyk(0%, 37.8%, 0%, 71%)
CIE-LABlab(23.35, 18.18, -12.14)
CIE-LCHlch(23.35, 21.86, 326.27°)
OKLaboklab(34.65% 0.0503 -0.033)
OKLCHoklch(34.65% 0.06 326.8)
XYZxyz(5.0370, 3.9044, 6.9655)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2E4A #2E4A2E
analogous
#3C2E4A #4A2E4A #4A2E3C
triadic
#4A2E4A #4A4A2E #2E4A4A
tetradic
#4A2E4A #4A3C2E #2E4A2E #2E3C4A
square
#4A2E4A #4A3C2E #2E4A2E #2E3C4A
split-complementary
#4A2E4A #3C4A2E #2E4A3C
monochromatic
#130C13 #241724 #4A2E4A #704570 #955D95

Accessibility & contrast

On white

11.79
#4A2E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4A2E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2E4A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2E4A#FFFFFF#000000##FFFFFF
##4A2E4A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C354B
Deuteranopia (green-blind)
#333949
Tritanopia (blue-blind)
#4C3138
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a2e4a;
/* rgb */ color: rgb(74, 46, 74);
/* oklch */ color: oklch(34.7% 0.060 326.8);
Tailwind
colors: {
  custom: {
    50: '#7d677c',
    500: '#4a2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #4a2e4a;
$custom-light: #7d677c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2e4a",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 23.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34652,
    "c": 0.06017,
    "h": 326.8
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#4A2E4A
secondary
#597B59
accent
#C06868
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#090609
muted
#7B7A7B

Preview Lab

Preview with #4A2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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