#4A0E46#4A0E46

#4A0E46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.113 H 330.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#4A0E46
RGBrgb(74, 14, 70)
HSLhsl(304, 68%, 17%)
HSVhsv(304, 81%, 29%)
CMYKcmyk(0%, 81.1%, 5.4%, 71%)
CIE-LABlab(16.56, 34.80, -19.98)
CIE-LCHlch(16.56, 40.13, 330.13°)
OKLaboklab(29.57% 0.0991 -0.0551)
OKLCHoklch(29.57% 0.113 330.9)
XYZxyz(4.0866, 2.2124, 6.0050)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E46 #0E4A12
analogous
#300E4A #4A0E46 #4A0E28
triadic
#4A0E46 #464A0E #0E464A
tetradic
#4A0E46 #4A300E #0E4A12 #0E284A
square
#4A0E46 #4A300E #0E4A12 #0E284A
split-complementary
#4A0E46 #284A0E #0E4A30
monochromatic
#1A0518 #1A0518 #4A0E46 #7D1877 #B121A7

Accessibility & contrast

On white

14.56
#4A0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A0E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E46
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E46#FFFFFF#000000##FFFFFF
##4A0E461.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082448
Deuteranopia (green-blind)
#212C45
Tritanopia (blue-blind)
#4D1529
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0e46;
/* rgb */ color: rgb(74, 14, 70);
/* oklch */ color: oklch(29.6% 0.113 330.9);
Tailwind
colors: {
  custom: {
    50: '#7f5479',
    500: '#4a0e46',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e46;
$custom-light: #7f5479;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e46",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 304,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.1134,
    "h": 330.9
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#4A0E46
secondary
#2F8535
accent
#EB483D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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