#4A0D47#4A0D47

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

Color values

HEX#4A0D47
RGBrgb(74, 13, 71)
HSLhsl(303, 70%, 17%)
HSVhsv(303, 82%, 29%)
CMYKcmyk(0%, 82.4%, 4.1%, 71%)
CIE-LABlab(16.50, 35.35, -20.78)
CIE-LCHlch(16.50, 41.01, 329.55°)
OKLaboklab(29.54% 0.1002 -0.0574)
OKLCHoklch(29.54% 0.115 330.2)
XYZxyz(4.1053, 2.1989, 6.1682)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D47 #0D4A10
analogous
#2F0D4A #4A0D47 #4A0D29
triadic
#4A0D47 #474A0D #0D474A
tetradic
#4A0D47 #4A2F0D #0D4A10 #0D294A
square
#4A0D47 #4A2F0D #0D4A10 #0D294A
split-complementary
#4A0D47 #294A0D #0D4A2F
monochromatic
#1A0519 #1A0519 #4A0D47 #7E1679 #B21FAB

Accessibility & contrast

On white

14.59
#4A0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D47
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D47#FFFFFF#000000##FFFFFF
##4A0D471.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0d47;
/* rgb */ color: rgb(74, 13, 71);
/* oklch */ color: oklch(29.5% 0.115 330.2);
Tailwind
colors: {
  custom: {
    50: '#7f547a',
    500: '#4a0d47',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d47;
$custom-light: #7f547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d47",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 302.951,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29544,
    "c": 0.11548,
    "h": 330.2
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#4A0D47
secondary
#2E8532
accent
#ED443B
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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