#4A0E42#4A0E42

#4A0E42 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.110 H 334.0°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#4A0E42
RGBrgb(74, 14, 66)
HSLhsl(308, 68%, 17%)
HSVhsv(308, 81%, 29%)
CMYKcmyk(0%, 81.1%, 10.8%, 71%)
CIE-LABlab(16.32, 34.08, -17.58)
CIE-LCHlch(16.32, 38.34, 332.71°)
OKLaboklab(29.32% 0.0989 -0.0481)
OKLCHoklch(29.32% 0.11 334)
XYZxyz(3.9645, 2.1636, 5.3620)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E42 #0E4A16
analogous
#340E4A #4A0E42 #4A0E24
triadic
#4A0E42 #424A0E #0E424A
tetradic
#4A0E42 #4A340E #0E4A16 #0E244A
square
#4A0E42 #4A340E #0E4A16 #0E244A
split-complementary
#4A0E42 #244A0E #0E4A34
monochromatic
#1A0517 #1A0517 #4A0E42 #7D1870 #B1219E

Accessibility & contrast

On white

14.66
#4A0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E42
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E42#FFFFFF#000000##FFFFFF
##4A0E421.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2343
Deuteranopia (green-blind)
#232C41
Tritanopia (blue-blind)
#4E1427
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0e42;
/* rgb */ color: rgb(74, 14, 66);
/* oklch */ color: oklch(29.3% 0.110 334.0);
Tailwind
colors: {
  custom: {
    50: '#7f5476',
    500: '#4a0e42',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e42;
$custom-light: #7f5476;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e42",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 308,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29319,
    "c": 0.10999,
    "h": 334
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#4A0E42
secondary
#2F853A
accent
#EB543D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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