#4A0D4C#4A0D4C

#4A0D4C is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.120 H 326.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4A0D4C
RGBrgb(74, 13, 76)
HSLhsl(298, 71%, 17%)
HSVhsv(298, 83%, 30%)
CMYKcmyk(2.6%, 82.9%, 0%, 70.2%)
CIE-LABlab(16.82, 36.29, -23.71)
CIE-LCHlch(16.82, 43.35, 326.84°)
OKLaboklab(29.88% 0.1002 -0.0659)
OKLCHoklch(29.88% 0.12 326.7)
XYZxyz(4.2724, 2.2658, 7.0484)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D4C #0F4C0D
analogous
#2A0D4C #4A0D4C #4C0D2F
triadic
#4A0D4C #4C4A0D #0D4C4A
tetradic
#4A0D4C #4C2A0D #0F4C0D #0D2F4C
square
#4A0D4C #4C2A0D #0F4C0D #0D2F4C
split-complementary
#4A0D4C #2F4C0D #0D4C2A
monochromatic
#19041A #19041A #4A0D4C #7D1680 #B01FB5

Accessibility & contrast

On white

14.45
#4A0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A0D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0D4C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D4C#FFFFFF#000000##FFFFFF
##4A0D4C1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254E
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#4C182C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0d4c;
/* rgb */ color: rgb(74, 13, 76);
/* oklch */ color: oklch(29.9% 0.120 326.7);
Tailwind
colors: {
  custom: {
    50: '#7f547e',
    500: '#4a0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d4c;
$custom-light: #7f547e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d4c",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 298.095,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29882,
    "c": 0.11989,
    "h": 326.7
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#4A0D4C
secondary
#30872E
accent
#EE3A40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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