#470F52#470F52

#470F52 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.122 H 320.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#470F52
RGBrgb(71, 15, 82)
HSLhsl(290, 69%, 19%)
HSVhsv(290, 82%, 32%)
CMYKcmyk(13.4%, 81.7%, 0%, 67.8%)
CIE-LABlab(16.94, 36.05, -27.65)
CIE-LCHlch(16.94, 45.43, 322.51°)
OKLaboklab(29.99% 0.0938 -0.0775)
OKLCHoklch(29.99% 0.122 320.4)
XYZxyz(4.2922, 2.2907, 8.1971)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F52 #1A520F
analogous
#260F52 #470F52 #520F3C
triadic
#470F52 #52470F #0F5247
tetradic
#470F52 #52260F #1A520F #0F3C52
square
#470F52 #52260F #1A520F #0F3C52
split-complementary
#470F52 #3C520F #0F5226
monochromatic
#16051A #1A061E #470F52 #741886 #A122B9

Accessibility & contrast

On white

14.40
#470F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470F52
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F52#FFFFFF#000000##FFFFFF
##470F521.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#162C50
Tritanopia (blue-blind)
#471D30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #470f52;
/* rgb */ color: rgb(71, 15, 82);
/* oklch */ color: oklch(30.0% 0.122 320.4);
Tailwind
colors: {
  custom: {
    50: '#7d5483',
    500: '#470f52',
    950: '#000000',
  },
}
SCSS
$custom: #470f52;
$custom-light: #7d5483;
$custom-dark: #000000;
JSON
{
  "hex": "#470f52",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 290.149,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29992,
    "c": 0.12164,
    "h": 320.4
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#470F52
secondary
#408C31
accent
#EC3C59
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470F52

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

Preview Lab → · Contrast checker → · Palette generator →

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