#4A0D46#4A0D46

#4A0D46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.115 H 331.0°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#4A0D46
RGBrgb(74, 13, 70)
HSLhsl(304, 70%, 17%)
HSVhsv(304, 82%, 29%)
CMYKcmyk(0%, 82.4%, 5.4%, 71%)
CIE-LABlab(16.44, 35.17, -20.19)
CIE-LCHlch(16.44, 40.55, 330.14°)
OKLaboklab(29.48% 0.1002 -0.0556)
OKLCHoklch(29.48% 0.115 331)
XYZxyz(4.0734, 2.1862, 6.0006)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D46 #0D4A11
analogous
#300D4A #4A0D46 #4A0D28
triadic
#4A0D46 #464A0D #0D464A
tetradic
#4A0D46 #4A300D #0D4A11 #0D284A
square
#4A0D46 #4A300D #0D4A11 #0D284A
split-complementary
#4A0D46 #284A0D #0D4A30
monochromatic
#1A0519 #1A0519 #4A0D46 #7E1677 #B21FA8

Accessibility & contrast

On white

14.61
#4A0D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A0D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0D46
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D46#FFFFFF#000000##FFFFFF
##4A0D461.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072348
Deuteranopia (green-blind)
#202C45
Tritanopia (blue-blind)
#4D1529
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0d46;
/* rgb */ color: rgb(74, 13, 70);
/* oklch */ color: oklch(29.5% 0.115 331.0);
Tailwind
colors: {
  custom: {
    50: '#7f5479',
    500: '#4a0d46',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d46;
$custom-light: #7f5479;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d46",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 303.934,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29478,
    "c": 0.11462,
    "h": 331
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#4A0D46
secondary
#2E8533
accent
#ED473B
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0D46

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

Preview Lab → · Contrast checker → · Palette generator →

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