#4A0D4B#4A0D4B

#4A0D4B is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.119 H 327.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4A0D4B
RGBrgb(74, 13, 75)
HSLhsl(299, 70%, 17%)
HSVhsv(299, 83%, 29%)
CMYKcmyk(1.3%, 82.7%, 0%, 70.6%)
CIE-LABlab(16.76, 36.10, -23.13)
CIE-LCHlch(16.76, 42.88, 327.35°)
OKLaboklab(29.81% 0.1002 -0.0642)
OKLCHoklch(29.81% 0.119 327.4)
XYZxyz(4.2379, 2.2520, 6.8667)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0D4B #0E4B0D
analogous
#2B0D4B #4A0D4B #4B0D2D
triadic
#4A0D4B #4B4A0D #0D4B4A
tetradic
#4A0D4B #4B2B0D #0E4B0D #0D2D4B
square
#4A0D4B #4B2B0D #0E4B0D #0D2D4B
split-complementary
#4A0D4B #2D4B0D #0D4B2B
monochromatic
#1A051A #1A051A #4A0D4B #7D167F #B11FB3

Accessibility & contrast

On white

14.48
#4A0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0D4B
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0D4B#FFFFFF#000000##FFFFFF
##4A0D4B1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#1D2C49
Tritanopia (blue-blind)
#4C172B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0d4b;
/* rgb */ color: rgb(74, 13, 75);
/* oklch */ color: oklch(29.8% 0.119 327.4);
Tailwind
colors: {
  custom: {
    50: '#7f547d',
    500: '#4a0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #4a0d4b;
$custom-light: #7f547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0d4b",
  "rgb": {
    "r": 74,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 299.032,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.11899,
    "h": 327.4
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#4A0D4B
secondary
#2F862E
accent
#ED3B3D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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