#4A0849#4A0849

#4A0849 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.3% C 0.123 H 328.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#4A0849
RGBrgb(74, 8, 73)
HSLhsl(301, 80%, 16%)
HSVhsv(301, 89%, 29%)
CMYKcmyk(0%, 89.2%, 1.4%, 71%)
CIE-LABlab(16.06, 37.36, -22.86)
CIE-LCHlch(16.06, 43.80, 328.54°)
OKLaboklab(29.27% 0.1049 -0.0634)
OKLCHoklch(29.27% 0.123 328.9)
XYZxyz(4.1134, 2.1109, 6.4928)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0849 #084A09
analogous
#2A084A #4A0849 #4A0828
triadic
#4A0849 #494A08 #08494A
tetradic
#4A0849 #4A2A08 #084A09 #08284A
square
#4A0849 #4A2A08 #084A09 #08284A
split-complementary
#4A0849 #284A08 #084A2A
monochromatic
#1C031B #1C031B #4A0849 #810E7F #B814B6

Accessibility & contrast

On white

14.77
#4A0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0849
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0849#FFFFFF#000000##FFFFFF
##4A08491.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#1D2B47
Tritanopia (blue-blind)
#4D1329
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0849;
/* rgb */ color: rgb(74, 8, 73);
/* oklch */ color: oklch(29.3% 0.123 328.9);
Tailwind
colors: {
  custom: {
    50: '#7f527c',
    500: '#4a0849',
    950: '#000000',
  },
}
SCSS
$custom: #4a0849;
$custom-light: #7f527c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0849",
  "rgb": {
    "r": 74,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 300.909,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.12256,
    "h": 328.9
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#4A0849
secondary
#268827
accent
#F73431
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0849

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

Preview Lab → · Contrast checker → · Palette generator →

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