#4A204F#4A204F

#4A204F is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.4% C 0.094 H 323.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4A204F
RGBrgb(74, 32, 79)
HSLhsl(294, 42%, 22%)
HSVhsv(294, 59%, 31%)
CMYKcmyk(6.3%, 59.5%, 0%, 69%)
CIE-LABlab(20.26, 27.91, -20.32)
CIE-LCHlch(20.26, 34.52, 323.95°)
OKLaboklab(32.43% 0.0753 -0.0562)
OKLCHoklch(32.43% 0.094 323.3)
XYZxyz(4.7517, 3.0536, 7.7347)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A204F #254F20
analogous
#33204F #4A204F #4F203D
triadic
#4A204F #4F4A20 #204F4A
tetradic
#4A204F #4F3320 #254F20 #203D4F
square
#4A204F #4F3320 #254F20 #203D4F
split-complementary
#4A204F #3D4F20 #204F33
monochromatic
#140916 #210E23 #4A204F #73327B #9C43A6

Accessibility & contrast

On white

13.04
#4A204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A204F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A204F#FFFFFF#000000##FFFFFF
##4A204F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E51
Deuteranopia (green-blind)
#26334E
Tritanopia (blue-blind)
#4B2634
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a204f;
/* rgb */ color: rgb(74, 32, 79);
/* oklch */ color: oklch(32.4% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#7e5e80',
    500: '#4a204f',
    950: '#000000',
  },
}
SCSS
$custom: #4a204f;
$custom-light: #7e5e80;
$custom-dark: #000000;
JSON
{
  "hex": "#4a204f",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 293.617,
    "s": 42.342,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.09397,
    "h": 323.3
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#4A204F
secondary
#4E8347
accent
#D25663
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4A204F

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

Preview Lab → · Contrast checker → · Palette generator →

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