#4A0D4A#4A0D4A

#4A0D4A is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.118 H 328.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4A0D4A
RGBrgb(74, 13, 74)
HSLhsl(300, 70%, 17%)
HSVhsv(300, 82%, 29%)
CMYKcmyk(0%, 82.4%, 0%, 71%)
CIE-LABlab(16.69, 35.91, -22.55)
CIE-LCHlch(16.69, 42.40, 327.88°)
OKLaboklab(29.74% 0.1002 -0.0625)
OKLCHoklch(29.74% 0.118 328.1)
XYZxyz(4.2039, 2.2384, 6.6879)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D4A #0D4A0D
analogous
#2C0D4A #4A0D4A #4A0D2C
triadic
#4A0D4A #4A4A0D #0D4A4A
tetradic
#4A0D4A #4A2C0D #0D4A0D #0D2C4A
square
#4A0D4A #4A2C0D #0D4A0D #0D2C4A
split-complementary
#4A0D4A #2C4A0D #0D4A2C
monochromatic
#1A051A #1A051A #4A0D4A #7E167E #B21FB2

Accessibility & contrast

On white

14.51
#4A0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D4A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D4A#FFFFFF#000000##FFFFFF
##4A0D4A1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#1E2C48
Tritanopia (blue-blind)
#4D172B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0d4a;
/* rgb */ color: rgb(74, 13, 74);
/* oklch */ color: oklch(29.7% 0.118 328.1);
Tailwind
colors: {
  custom: {
    50: '#7f547d',
    500: '#4a0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d4a;
$custom-light: #7f547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d4a",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 300,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.11811,
    "h": 328.1
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#4A0D4A
secondary
#2E852E
accent
#ED3B3B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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