#4A0D4F#4A0D4F

#4A0D4F is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.123 H 324.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4A0D4F
RGBrgb(74, 13, 79)
HSLhsl(295, 72%, 18%)
HSVhsv(295, 84%, 31%)
CMYKcmyk(6.3%, 83.5%, 0%, 69%)
CIE-LABlab(17.03, 36.88, -25.44)
CIE-LCHlch(17.03, 44.80, 325.40°)
OKLaboklab(30.09% 0.1 -0.0709)
OKLCHoklch(30.09% 0.123 324.7)
XYZxyz(4.3791, 2.3085, 7.6105)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D4F #124F0D
analogous
#290D4F #4A0D4F #4F0D33
triadic
#4A0D4F #4F4A0D #0D4F4A
tetradic
#4A0D4F #4F290D #124F0D #0D334F
square
#4A0D4F #4F290D #124F0D #0D334F
split-complementary
#4A0D4F #334F0D #0D4F29
monochromatic
#19041A #19041A #4A0D4F #7B1684 #AC1EB8

Accessibility & contrast

On white

14.37
#4A0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D4F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D4F#FFFFFF#000000##FFFFFF
##4A0D4F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#1B2C4D
Tritanopia (blue-blind)
#4C192E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0d4f;
/* rgb */ color: rgb(74, 13, 79);
/* oklch */ color: oklch(30.1% 0.123 324.7);
Tailwind
colors: {
  custom: {
    50: '#7f5481',
    500: '#4a0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d4f;
$custom-light: #7f5481;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d4f",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 295.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30093,
    "c": 0.12259,
    "h": 324.7
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#4A0D4F
secondary
#358A2E
accent
#EE3947
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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