#4A204B#4A204B

#4A204B is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.2% C 0.090 H 326.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4A204B
RGBrgb(74, 32, 75)
HSLhsl(299, 40%, 21%)
HSVhsv(299, 57%, 29%)
CMYKcmyk(1.3%, 57.3%, 0%, 70.6%)
CIE-LABlab(20.03, 27.04, -17.96)
CIE-LCHlch(20.03, 32.46, 326.41°)
OKLaboklab(32.19% 0.0747 -0.0494)
OKLCHoklch(32.19% 0.09 326.5)
XYZxyz(4.6105, 2.9971, 6.9909)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A204B #214B20
analogous
#34204B #4A204B #4B2036
triadic
#4A204B #4B4A20 #204B4A
tetradic
#4A204B #4B3420 #214B20 #20364B
square
#4A204B #4B3420 #214B20 #20364B
split-complementary
#4A204B #364B20 #204B34
monochromatic
#150915 #200E20 #4A204B #743276 #9F45A1

Accessibility & contrast

On white

13.13
#4A204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A204B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A204B#FFFFFF#000000##FFFFFF
##4A204B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#28324A
Tritanopia (blue-blind)
#4C2532
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a204b;
/* rgb */ color: rgb(74, 32, 75);
/* oklch */ color: oklch(32.2% 0.090 326.5);
Tailwind
colors: {
  custom: {
    50: '#7e5e7d',
    500: '#4a204b',
    950: '#000000',
  },
}
SCSS
$custom: #4a204b;
$custom-light: #7e5e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a204b",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 298.605,
    "s": 40.187,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.08959,
    "h": 326.5
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#4A204B
secondary
#497F47
accent
#D0585B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4A204B

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

Preview Lab → · Contrast checker → · Palette generator →

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