#470442#470442

#470442 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.120 H 331.8°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#470442
RGBrgb(71, 4, 66)
HSLhsl(304, 89%, 15%)
HSVhsv(304, 94%, 28%)
CMYKcmyk(0%, 94.4%, 7%, 72.2%)
CIE-LABlab(14.51, 36.79, -20.48)
CIE-LCHlch(14.51, 42.10, 330.90°)
OKLaboklab(27.91% 0.1055 -0.0565)
OKLCHoklch(27.91% 0.12 331.8)
XYZxyz(3.6253, 1.8201, 5.3136)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470442 #044709
analogous
#2B0447 #470442 #470420
triadic
#470442 #424704 #044247
tetradic
#470442 #472B04 #044709 #042047
square
#470442 #472B04 #044709 #042047
split-complementary
#470442 #204704 #04472B
monochromatic
#1D021B #1D021B #470442 #810778 #BB0BAE

Accessibility & contrast

On white

15.40
#470442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#470442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470442
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470442#FFFFFF#000000##FFFFFF
##4704421.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#4A0E24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #470442;
/* rgb */ color: rgb(71, 4, 66);
/* oklch */ color: oklch(27.9% 0.120 331.8);
Tailwind
colors: {
  custom: {
    50: '#7d4f76',
    500: '#470442',
    950: '#000000',
  },
}
SCSS
$custom: #470442;
$custom-light: #7d4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#470442",
  "rgb": {
    "r": 71,
    "g": 4,
    "b": 66
  },
  "hsl": {
    "h": 304.478,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27911,
    "c": 0.11971,
    "h": 331.8
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#470442
secondary
#1F8827
accent
#FF3929
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470442

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

Preview Lab → · Contrast checker → · Palette generator →

#470442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva