#4A0C41#4A0C41

#4A0C41 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.112 H 334.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#4A0C41
RGBrgb(74, 12, 65)
HSLhsl(309, 72%, 17%)
HSVhsv(309, 84%, 29%)
CMYKcmyk(0%, 83.8%, 12.2%, 71%)
CIE-LABlab(16.01, 34.64, -17.38)
CIE-LCHlch(16.01, 38.75, 333.36°)
OKLaboklab(29.07% 0.101 -0.0475)
OKLCHoklch(29.07% 0.112 334.8)
XYZxyz(3.9097, 2.1008, 5.1996)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C41 #0C4A15
analogous
#340C4A #4A0C41 #4A0C22
triadic
#4A0C41 #414A0C #0C414A
tetradic
#4A0C41 #4A340C #0C4A15 #0C224A
square
#4A0C41 #4A340C #0C4A15 #0C224A
split-complementary
#4A0C41 #224A0C #0C4A34
monochromatic
#1A0417 #1A0417 #4A0C41 #7F156F #B31D9E

Accessibility & contrast

On white

14.79
#4A0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A0C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C41
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C41#FFFFFF#000000##FFFFFF
##4A0C411.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2242
Deuteranopia (green-blind)
#222B40
Tritanopia (blue-blind)
#4E1225
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0c41;
/* rgb */ color: rgb(74, 12, 65);
/* oklch */ color: oklch(29.1% 0.112 334.8);
Tailwind
colors: {
  custom: {
    50: '#7f5376',
    500: '#4a0c41',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c41;
$custom-light: #7f5376;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c41",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 308.71,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29073,
    "c": 0.11161,
    "h": 334.8
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#4A0C41
secondary
#2C8639
accent
#EF5339
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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