#4A0D4D#4A0D4D

#4A0D4D is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.121 H 326.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4A0D4D
RGBrgb(74, 13, 77)
HSLhsl(297, 71%, 18%)
HSVhsv(297, 83%, 30%)
CMYKcmyk(3.9%, 83.1%, 0%, 69.8%)
CIE-LABlab(16.89, 36.49, -24.29)
CIE-LCHlch(16.89, 43.83, 326.35°)
OKLaboklab(29.95% 0.1001 -0.0676)
OKLCHoklch(29.95% 0.121 326)
XYZxyz(4.3074, 2.2798, 7.2329)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D4D #104D0D
analogous
#2A0D4D #4A0D4D #4D0D30
triadic
#4A0D4D #4D4A0D #0D4D4A
tetradic
#4A0D4D #4D2A0D #104D0D #0D304D
square
#4A0D4D #4D2A0D #104D0D #0D304D
split-complementary
#4A0D4D #304D0D #0D4D2A
monochromatic
#19041A #19041A #4A0D4D #7C1681 #AF1FB6

Accessibility & contrast

On white

14.42
#4A0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4A0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0D4D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D4D#FFFFFF#000000##FFFFFF
##4A0D4D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#1C2C4B
Tritanopia (blue-blind)
#4C182C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0d4d;
/* rgb */ color: rgb(74, 13, 77);
/* oklch */ color: oklch(30.0% 0.121 326.0);
Tailwind
colors: {
  custom: {
    50: '#7f547f',
    500: '#4a0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d4d;
$custom-light: #7f547f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d4d",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 297.188,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29951,
    "c": 0.12078,
    "h": 326
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#4A0D4D
secondary
#32882E
accent
#EE3A42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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