#4A204D#4A204D

#4A204D is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.092 H 324.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4A204D
RGBrgb(74, 32, 77)
HSLhsl(296, 41%, 21%)
HSVhsv(296, 58%, 30%)
CMYKcmyk(3.9%, 58.4%, 0%, 69.8%)
CIE-LABlab(20.14, 27.47, -19.14)
CIE-LCHlch(20.14, 33.48, 325.13°)
OKLaboklab(32.31% 0.075 -0.0528)
OKLCHoklch(32.31% 0.092 324.9)
XYZxyz(4.6800, 3.0249, 7.3571)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A204D #234D20
analogous
#34204D #4A204D #4D203A
triadic
#4A204D #4D4A20 #204D4A
tetradic
#4A204D #4D3420 #234D20 #203A4D
square
#4A204D #4D3420 #234D20 #203A4D
split-complementary
#4A204D #3A4D20 #204D34
monochromatic
#150916 #200E22 #4A204D #743278 #9D44A3

Accessibility & contrast

On white

13.08
#4A204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4A204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A204D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A204D#FFFFFF#000000##FFFFFF
##4A204D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4E
Deuteranopia (green-blind)
#27324C
Tritanopia (blue-blind)
#4C2633
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a204d;
/* rgb */ color: rgb(74, 32, 77);
/* oklch */ color: oklch(32.3% 0.092 324.9);
Tailwind
colors: {
  custom: {
    50: '#7e5e7f',
    500: '#4a204d',
    950: '#000000',
  },
}
SCSS
$custom: #4a204d;
$custom-light: #7e5e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a204d",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 296,
    "s": 41.284,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32306,
    "c": 0.09176,
    "h": 324.9
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#4A204D
secondary
#4B8147
accent
#D1575F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A204D

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

Preview Lab → · Contrast checker → · Palette generator →

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