#4A0A48#4A0A48

#4A0A48 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.4% C 0.120 H 329.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#4A0A48
RGBrgb(74, 10, 72)
HSLhsl(302, 76%, 16%)
HSVhsv(302, 86%, 29%)
CMYKcmyk(0%, 86.5%, 2.7%, 71%)
CIE-LABlab(16.21, 36.55, -21.93)
CIE-LCHlch(16.21, 42.62, 329.04°)
OKLaboklab(29.36% 0.1031 -0.0607)
OKLCHoklch(29.36% 0.12 329.5)
XYZxyz(4.1023, 2.1411, 6.3269)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0A48 #0A4A0C
analogous
#2C0A4A #4A0A48 #4A0A28
triadic
#4A0A48 #484A0A #0A484A
tetradic
#4A0A48 #4A2C0A #0A4A0C #0A284A
square
#4A0A48 #4A2C0A #0A4A0C #0A284A
split-complementary
#4A0A48 #284A0A #0A4A2C
monochromatic
#1B041A #1B041A #4A0A48 #80117C #B619B1

Accessibility & contrast

On white

14.70
#4A0A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0A48
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0A48#FFFFFF#000000##FFFFFF
##4A0A481.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234A
Deuteranopia (green-blind)
#1E2B46
Tritanopia (blue-blind)
#4D1429
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0a48;
/* rgb */ color: rgb(74, 10, 72);
/* oklch */ color: oklch(29.4% 0.120 329.5);
Tailwind
colors: {
  custom: {
    50: '#7f537b',
    500: '#4a0a48',
    950: '#000000',
  },
}
SCSS
$custom: #4a0a48;
$custom-light: #7f537b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0a48",
  "rgb": {
    "r": 74,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 301.875,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.11965,
    "h": 329.5
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#4A0A48
secondary
#29872C
accent
#F33B35
background
#F8F4F7
surface
#EFE8EE
border
#CAC4C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0A48

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

Preview Lab → · Contrast checker → · Palette generator →

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