#4A0943#4A0943

#4A0943 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.117 H 333.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#4A0943
RGBrgb(74, 9, 67)
HSLhsl(306, 78%, 16%)
HSVhsv(306, 88%, 29%)
CMYKcmyk(0%, 87.8%, 9.5%, 71%)
CIE-LABlab(15.78, 35.98, -19.13)
CIE-LCHlch(15.78, 40.74, 332.00°)
OKLaboklab(28.95% 0.104 -0.0526)
OKLCHoklch(28.95% 0.117 333.2)
XYZxyz(3.9349, 2.0568, 5.4989)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0943 #094A10
analogous
#31094A #4A0943 #4A0923
triadic
#4A0943 #434A09 #09434A
tetradic
#4A0943 #4A3109 #094A10 #09234A
square
#4A0943 #4A3109 #094A10 #09234A
split-complementary
#4A0943 #234A09 #094A31
monochromatic
#1B0319 #1B0319 #4A0943 #811074 #B716A6

Accessibility & contrast

On white

14.88
#4A0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0943
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0943#FFFFFF#000000##FFFFFF
##4A09431.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062144
Deuteranopia (green-blind)
#202B42
Tritanopia (blue-blind)
#4E1126
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0943;
/* rgb */ color: rgb(74, 9, 67);
/* oklch */ color: oklch(29.0% 0.117 333.2);
Tailwind
colors: {
  custom: {
    50: '#7f5277',
    500: '#4a0943',
    950: '#000000',
  },
}
SCSS
$custom: #4a0943;
$custom-light: #7f5277;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0943",
  "rgb": {
    "r": 74,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 306.462,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28951,
    "c": 0.11655,
    "h": 333.2
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#4A0943
secondary
#278732
accent
#F54833
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0943

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

Preview Lab → · Contrast checker → · Palette generator →

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