#4A0E41#4A0E41

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

Color values

HEX#4A0E41
RGBrgb(74, 14, 65)
HSLhsl(309, 68%, 17%)
HSVhsv(309, 81%, 29%)
CMYKcmyk(0%, 81.1%, 12.2%, 71%)
CIE-LABlab(16.27, 33.90, -16.97)
CIE-LCHlch(16.27, 37.91, 333.41°)
OKLaboklab(29.26% 0.0988 -0.0464)
OKLCHoklch(29.26% 0.109 334.9)
XYZxyz(3.9353, 2.1519, 5.2081)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E41 #0E4A17
analogous
#350E4A #4A0E41 #4A0E23
triadic
#4A0E41 #414A0E #0E414A
tetradic
#4A0E41 #4A350E #0E4A17 #0E234A
square
#4A0E41 #4A350E #0E4A17 #0E234A
split-complementary
#4A0E41 #234A0E #0E4A35
monochromatic
#1A0517 #1A0517 #4A0E41 #7D186E #B1219B

Accessibility & contrast

On white

14.68
#4A0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0E41
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E41#FFFFFF#000000##FFFFFF
##4A0E411.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2342
Deuteranopia (green-blind)
#232B40
Tritanopia (blue-blind)
#4E1326
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0e41;
/* rgb */ color: rgb(74, 14, 65);
/* oklch */ color: oklch(29.3% 0.109 334.9);
Tailwind
colors: {
  custom: {
    50: '#7f5476',
    500: '#4a0e41',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e41;
$custom-light: #7f5476;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e41",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 309,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.10916,
    "h": 334.9
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#4A0E41
secondary
#2F853C
accent
#EB573D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0E41

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

Preview Lab → · Contrast checker → · Palette generator →

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