#4A0D49#4A0D49

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

Color values

HEX#4A0D49
RGBrgb(74, 13, 73)
HSLhsl(301, 70%, 17%)
HSVhsv(301, 82%, 29%)
CMYKcmyk(0%, 82.4%, 1.4%, 71%)
CIE-LABlab(16.63, 35.72, -21.96)
CIE-LCHlch(16.63, 41.93, 328.42°)
OKLaboklab(29.68% 0.1002 -0.0608)
OKLCHoklch(29.68% 0.117 328.8)
XYZxyz(4.1705, 2.2250, 6.5119)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D49 #0D4A0E
analogous
#2D0D4A #4A0D49 #4A0D2B
triadic
#4A0D49 #494A0D #0D494A
tetradic
#4A0D49 #4A2D0D #0D4A0E #0D2B4A
square
#4A0D49 #4A2D0D #0D4A0E #0D2B4A
split-complementary
#4A0D49 #2B4A0D #0D4A2D
monochromatic
#1A051A #1A051A #4A0D49 #7E167C #B21FB0

Accessibility & contrast

On white

14.53
#4A0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D49
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D49#FFFFFF#000000##FFFFFF
##4A0D491.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244B
Deuteranopia (green-blind)
#1F2C48
Tritanopia (blue-blind)
#4D162A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0d49;
/* rgb */ color: rgb(74, 13, 73);
/* oklch */ color: oklch(29.7% 0.117 328.8);
Tailwind
colors: {
  custom: {
    50: '#7f547c',
    500: '#4a0d49',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d49;
$custom-light: #7f547c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d49",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 300.984,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29677,
    "c": 0.11723,
    "h": 328.8
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#4A0D49
secondary
#2E852F
accent
#ED3E3B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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