#4A0941#4A0941

#4A0941 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.115 H 334.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#4A0941
RGBrgb(74, 9, 65)
HSLhsl(308, 78%, 16%)
HSVhsv(308, 88%, 29%)
CMYKcmyk(0%, 87.8%, 12.2%, 71%)
CIE-LABlab(15.66, 35.63, -17.92)
CIE-LCHlch(15.66, 39.89, 333.30°)
OKLaboklab(28.82% 0.1039 -0.0491)
OKLCHoklch(28.82% 0.115 334.7)
XYZxyz(3.8759, 2.0332, 5.1883)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0941 #094A12
analogous
#33094A #4A0941 #4A0921
triadic
#4A0941 #414A09 #09414A
tetradic
#4A0941 #4A3309 #094A12 #09214A
square
#4A0941 #4A3309 #094A12 #09214A
split-complementary
#4A0941 #214A09 #094A33
monochromatic
#1B0318 #1B0318 #4A0941 #811071 #B716A1

Accessibility & contrast

On white

14.93
#4A0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0941
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0941#FFFFFF#000000##FFFFFF
##4A09411.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#4E0F25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0941;
/* rgb */ color: rgb(74, 9, 65);
/* oklch */ color: oklch(28.8% 0.115 334.7);
Tailwind
colors: {
  custom: {
    50: '#7f5276',
    500: '#4a0941',
    950: '#000000',
  },
}
SCSS
$custom: #4a0941;
$custom-light: #7f5276;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0941",
  "rgb": {
    "r": 74,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 308.308,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28824,
    "c": 0.11494,
    "h": 334.7
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#4A0941
secondary
#278735
accent
#F54E33
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #4A0941

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

Preview Lab → · Contrast checker → · Palette generator →

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