#4A0D42#4A0D42

#4A0D42 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.111 H 334.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4A0D42
RGBrgb(74, 13, 66)
HSLhsl(308, 70%, 17%)
HSVhsv(308, 82%, 29%)
CMYKcmyk(0%, 82.4%, 10.8%, 71%)
CIE-LABlab(16.19, 34.45, -17.78)
CIE-LCHlch(16.19, 38.77, 332.70°)
OKLaboklab(29.23% 0.1 -0.0487)
OKLCHoklch(29.23% 0.111 334)
XYZxyz(3.9514, 2.1374, 5.3576)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D42 #0D4A15
analogous
#340D4A #4A0D42 #4A0D24
triadic
#4A0D42 #424A0D #0D424A
tetradic
#4A0D42 #4A340D #0D4A15 #0D244A
square
#4A0D42 #4A340D #0D4A15 #0D244A
split-complementary
#4A0D42 #244A0D #0D4A34
monochromatic
#1A0517 #1A0517 #4A0D42 #7E1670 #B21F9F

Accessibility & contrast

On white

14.71
#4A0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0D42
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D42#FFFFFF#000000##FFFFFF
##4A0D421.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2343
Deuteranopia (green-blind)
#222B41
Tritanopia (blue-blind)
#4E1326
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0d42;
/* rgb */ color: rgb(74, 13, 66);
/* oklch */ color: oklch(29.2% 0.111 334.0);
Tailwind
colors: {
  custom: {
    50: '#7f5376',
    500: '#4a0d42',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d42;
$custom-light: #7f5376;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d42",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 307.869,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.11124,
    "h": 334
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#4A0D42
secondary
#2E8539
accent
#ED523B
background
#F7F5F7
surface
#EEE8ED
border
#C9C4C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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