#4A0D48#4A0D48

#4A0D48 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.116 H 329.5°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#4A0D48
RGBrgb(74, 13, 72)
HSLhsl(302, 70%, 17%)
HSVhsv(302, 82%, 29%)
CMYKcmyk(0%, 82.4%, 2.7%, 71%)
CIE-LABlab(16.56, 35.54, -21.37)
CIE-LCHlch(16.56, 41.47, 328.98°)
OKLaboklab(29.61% 0.1002 -0.0591)
OKLCHoklch(29.61% 0.116 329.5)
XYZxyz(4.1376, 2.2119, 6.3386)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D48 #0D4A0F
analogous
#2E0D4A #4A0D48 #4A0D2A
triadic
#4A0D48 #484A0D #0D484A
tetradic
#4A0D48 #4A2E0D #0D4A0F #0D2A4A
square
#4A0D48 #4A2E0D #0D4A0F #0D2A4A
split-complementary
#4A0D48 #2A4A0D #0D4A2E
monochromatic
#1A0519 #1A0519 #4A0D48 #7E167B #B21FAD

Accessibility & contrast

On white

14.56
#4A0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D48
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D48#FFFFFF#000000##FFFFFF
##4A0D481.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244A
Deuteranopia (green-blind)
#1F2C47
Tritanopia (blue-blind)
#4D162A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0d48;
/* rgb */ color: rgb(74, 13, 72);
/* oklch */ color: oklch(29.6% 0.116 329.5);
Tailwind
colors: {
  custom: {
    50: '#7f547b',
    500: '#4a0d48',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d48;
$custom-light: #7f547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d48",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 301.967,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2961,
    "c": 0.11635,
    "h": 329.5
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#4A0D48
secondary
#2E8530
accent
#ED413B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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