#4A0942#4A0942

#4A0942 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.9% C 0.116 H 333.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4A0942
RGBrgb(74, 9, 66)
HSLhsl(307, 78%, 16%)
HSVhsv(307, 88%, 29%)
CMYKcmyk(0%, 87.8%, 10.8%, 71%)
CIE-LABlab(15.72, 35.80, -18.53)
CIE-LCHlch(15.72, 40.31, 332.64°)
OKLaboklab(28.89% 0.104 -0.0508)
OKLCHoklch(28.89% 0.116 333.9)
XYZxyz(3.9051, 2.0449, 5.3422)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0942 #094A11
analogous
#32094A #4A0942 #4A0922
triadic
#4A0942 #424A09 #09424A
tetradic
#4A0942 #4A3209 #094A11 #09224A
square
#4A0942 #4A3209 #094A11 #09224A
split-complementary
#4A0942 #224A09 #094A32
monochromatic
#1B0318 #1B0318 #4A0942 #811073 #B716A3

Accessibility & contrast

On white

14.90
#4A0942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0942
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0942#FFFFFF#000000##FFFFFF
##4A09421.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072143
Deuteranopia (green-blind)
#212A41
Tritanopia (blue-blind)
#4E1025
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0942;
/* rgb */ color: rgb(74, 9, 66);
/* oklch */ color: oklch(28.9% 0.116 333.9);
Tailwind
colors: {
  custom: {
    50: '#7f5276',
    500: '#4a0942',
    950: '#000000',
  },
}
SCSS
$custom: #4a0942;
$custom-light: #7f5276;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0942",
  "rgb": {
    "r": 74,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 307.385,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28887,
    "c": 0.11574,
    "h": 333.9
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#4A0942
secondary
#278733
accent
#F54B33
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #4A0942

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

Preview Lab → · Contrast checker → · Palette generator →

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