#470342#470342

#470342 is a dark, vivid purple. Relative luminance 0.018; OKLCH L 27.8% C 0.121 H 331.8°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#470342
RGBrgb(71, 3, 66)
HSLhsl(304, 92%, 15%)
HSVhsv(304, 96%, 28%)
CMYKcmyk(0%, 95.8%, 7%, 72.2%)
CIE-LABlab(14.39, 37.14, -20.67)
CIE-LCHlch(14.39, 42.51, 330.90°)
OKLaboklab(27.82% 0.1066 -0.0571)
OKLCHoklch(27.82% 0.121 331.8)
XYZxyz(3.6145, 1.7984, 5.3100)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470342 #034708
analogous
#2A0347 #470342 #470320
triadic
#470342 #424703 #034247
tetradic
#470342 #472A03 #034708 #032047
square
#470342 #472A03 #034708 #032047
split-complementary
#470342 #204703 #03472A
monochromatic
#1D011B #1D011B #470342 #820579 #BC08AF

Accessibility & contrast

On white

15.45
#470342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470342
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470342#FFFFFF#000000##FFFFFF
##4703421.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#4A0D24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470342;
/* rgb */ color: rgb(71, 3, 66);
/* oklch */ color: oklch(27.8% 0.121 331.8);
Tailwind
colors: {
  custom: {
    50: '#7d4f76',
    500: '#470342',
    950: '#000000',
  },
}
SCSS
$custom: #470342;
$custom-light: #7d4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#470342",
  "rgb": {
    "r": 71,
    "g": 3,
    "b": 66
  },
  "hsl": {
    "h": 304.412,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27824,
    "c": 0.12088,
    "h": 331.8
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #470342

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

Preview Lab → · Contrast checker → · Palette generator →

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