#470942#470942

#470942 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.114 H 331.8°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#470942
RGBrgb(71, 9, 66)
HSLhsl(305, 78%, 16%)
HSVhsv(305, 87%, 28%)
CMYKcmyk(0%, 87.3%, 7%, 72.2%)
CIE-LABlab(15.11, 35.06, -19.54)
CIE-LCHlch(15.11, 40.13, 330.87°)
OKLaboklab(28.33% 0.1005 -0.0538)
OKLCHoklch(28.33% 0.114 331.8)
XYZxyz(3.6796, 1.9286, 5.3317)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470942 #09470E
analogous
#2D0947 #470942 #470923
triadic
#470942 #424709 #094247
tetradic
#470942 #472D09 #09470E #092347
square
#470942 #472D09 #09470E #092347
split-complementary
#470942 #234709 #09472D
monochromatic
#1B0319 #1B0319 #470942 #7D1074 #B417A7

Accessibility & contrast

On white

15.16
#470942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#470942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470942
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470942#FFFFFF#000000##FFFFFF
##4709421.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042043
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#4A1125
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470942;
/* rgb */ color: rgb(71, 9, 66);
/* oklch */ color: oklch(28.3% 0.114 331.8);
Tailwind
colors: {
  custom: {
    50: '#7d5176',
    500: '#470942',
    950: '#000000',
  },
}
SCSS
$custom: #470942;
$custom-light: #7d5176;
$custom-dark: #000000;
JSON
{
  "hex": "#470942",
  "rgb": {
    "r": 71,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 304.839,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28334,
    "c": 0.114,
    "h": 331.8
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#470942
secondary
#27842F
accent
#F44334
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470942

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

Preview Lab → · Contrast checker → · Palette generator →

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