#470340#470340

#470340 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.119 H 333.3°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#470340
RGBrgb(71, 3, 64)
HSLhsl(306, 92%, 15%)
HSVhsv(306, 96%, 28%)
CMYKcmyk(0%, 95.8%, 9.9%, 72.2%)
CIE-LABlab(14.26, 36.80, -19.47)
CIE-LCHlch(14.26, 41.64, 332.12°)
OKLaboklab(27.69% 0.1066 -0.0536)
OKLCHoklch(27.69% 0.119 333.3)
XYZxyz(3.5565, 1.7752, 5.0048)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470340 #03470A
analogous
#2C0347 #470340 #47031E
triadic
#470340 #404703 #034047
tetradic
#470340 #472C03 #03470A #031E47
square
#470340 #472C03 #03470A #031E47
split-complementary
#470340 #1E4703 #03472C
monochromatic
#1D011A #1D011A #470340 #820575 #BC08AA

Accessibility & contrast

On white

15.50
#470340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470340
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470340#FFFFFF#000000##FFFFFF
##4703401.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#1D273F
Tritanopia (blue-blind)
#4B0B23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470340;
/* rgb */ color: rgb(71, 3, 64);
/* oklch */ color: oklch(27.7% 0.119 333.3);
Tailwind
colors: {
  custom: {
    50: '#7d4f75',
    500: '#470340',
    950: '#000000',
  },
}
SCSS
$custom: #470340;
$custom-light: #7d4f75;
$custom-dark: #000000;
JSON
{
  "hex": "#470340",
  "rgb": {
    "r": 71,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 306.176,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27689,
    "c": 0.11932,
    "h": 333.3
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#470340
secondary
#1E8829
accent
#FF3F29
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470340

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

Preview Lab → · Contrast checker → · Palette generator →

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