#4A0E47#4A0E47

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

Color values

HEX#4A0E47
RGBrgb(74, 14, 71)
HSLhsl(303, 68%, 17%)
HSVhsv(303, 81%, 29%)
CMYKcmyk(0%, 81.1%, 4.1%, 71%)
CIE-LABlab(16.63, 34.98, -20.58)
CIE-LCHlch(16.63, 40.59, 329.54°)
OKLaboklab(29.64% 0.0992 -0.0568)
OKLCHoklch(29.64% 0.114 330.2)
XYZxyz(4.1184, 2.2252, 6.1726)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E47 #0E4A11
analogous
#2F0E4A #4A0E47 #4A0E29
triadic
#4A0E47 #474A0E #0E474A
tetradic
#4A0E47 #4A2F0E #0E4A11 #0E294A
square
#4A0E47 #4A2F0E #0E4A11 #0E294A
split-complementary
#4A0E47 #294A0E #0E4A2F
monochromatic
#1A0519 #1A0519 #4A0E47 #7D1878 #B121AA

Accessibility & contrast

On white

14.53
#4A0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E47
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E47#FFFFFF#000000##FFFFFF
##4A0E471.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072449
Deuteranopia (green-blind)
#202C46
Tritanopia (blue-blind)
#4D1629
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0e47;
/* rgb */ color: rgb(74, 14, 71);
/* oklch */ color: oklch(29.6% 0.114 330.2);
Tailwind
colors: {
  custom: {
    50: '#7f547a',
    500: '#4a0e47',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e47;
$custom-light: #7f547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e47",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 303,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.11427,
    "h": 330.2
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#4A0E47
secondary
#2F8533
accent
#EB453D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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