#470F54#470F54

#470F54 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.124 H 319.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#470F54
RGBrgb(71, 15, 84)
HSLhsl(289, 70%, 19%)
HSVhsv(289, 82%, 33%)
CMYKcmyk(15.5%, 82.1%, 0%, 67.1%)
CIE-LABlab(17.09, 36.48, -28.77)
CIE-LCHlch(17.09, 46.46, 321.74°)
OKLaboklab(30.14% 0.0935 -0.0808)
OKLCHoklch(30.14% 0.124 319.2)
XYZxyz(4.3694, 2.3215, 8.6037)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F54 #1C540F
analogous
#250F54 #470F54 #540F3F
triadic
#470F54 #54470F #0F5447
tetradic
#470F54 #54250F #1C540F #0F3F54
square
#470F54 #54250F #1C540F #0F3F54
split-complementary
#470F54 #3F540F #0F5425
monochromatic
#16051A #1B0620 #470F54 #731888 #9F22BC

Accessibility & contrast

On white

14.34
#470F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#470F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F54
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F54#FFFFFF#000000##FFFFFF
##470F541.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#142C52
Tritanopia (blue-blind)
#471D31
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #470f54;
/* rgb */ color: rgb(71, 15, 84);
/* oklch */ color: oklch(30.1% 0.124 319.2);
Tailwind
colors: {
  custom: {
    50: '#7d5584',
    500: '#470f54',
    950: '#000000',
  },
}
SCSS
$custom: #470f54;
$custom-light: #7d5584;
$custom-dark: #000000;
JSON
{
  "hex": "#470f54",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 288.696,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30144,
    "c": 0.12358,
    "h": 319.2
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#470F54
secondary
#428E31
accent
#ED3B5D
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470F54

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

Preview Lab → · Contrast checker → · Palette generator →

#470F54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva