#4A0F49#4A0F49

#4A0F49 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.115 H 328.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4A0F49
RGBrgb(74, 15, 73)
HSLhsl(301, 66%, 17%)
HSVhsv(301, 80%, 29%)
CMYKcmyk(0%, 79.7%, 1.4%, 71%)
CIE-LABlab(16.89, 34.98, -21.55)
CIE-LCHlch(16.89, 41.08, 328.37°)
OKLaboklab(29.86% 0.0981 -0.0596)
OKLCHoklch(29.86% 0.115 328.7)
XYZxyz(4.1974, 2.2788, 6.5208)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F49 #0F4A10
analogous
#2E0F4A #4A0F49 #4A0F2C
triadic
#4A0F49 #494A0F #0F494A
tetradic
#4A0F49 #4A2E0F #0F4A10 #0F2C4A
square
#4A0F49 #4A2E0F #0F4A10 #0F2C4A
split-complementary
#4A0F49 #2C4A0F #0F4A2E
monochromatic
#190519 #190519 #4A0F49 #7D197B #B024AD

Accessibility & contrast

On white

14.43
#4A0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F49
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F49#FFFFFF#000000##FFFFFF
##4A0F491.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06254B
Deuteranopia (green-blind)
#202C48
Tritanopia (blue-blind)
#4D182B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a0f49;
/* rgb */ color: rgb(74, 15, 73);
/* oklch */ color: oklch(29.9% 0.115 328.7);
Tailwind
colors: {
  custom: {
    50: '#7f557c',
    500: '#4a0f49',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f49;
$custom-light: #7f557c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f49",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 301.017,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.1148,
    "h": 328.7
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#4A0F49
secondary
#308432
accent
#E9413F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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