#470B4C#470B4C

#470B4C is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.2% C 0.121 H 324.6°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#470B4C
RGBrgb(71, 11, 76)
HSLhsl(295, 75%, 17%)
HSVhsv(295, 86%, 30%)
CMYKcmyk(6.6%, 85.5%, 0%, 70.2%)
CIE-LABlab(16.01, 36.28, -25.05)
CIE-LCHlch(16.01, 44.08, 325.38°)
OKLaboklab(29.19% 0.0983 -0.0699)
OKLCHoklch(29.19% 0.121 324.6)
XYZxyz(4.0226, 2.1010, 7.0297)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470B4C #104C0B
analogous
#270B4C #470B4C #4C0B31
triadic
#470B4C #4C470B #0B4C47
tetradic
#470B4C #4C270B #104C0B #0B314C
square
#470B4C #4C270B #104C0B #0B314C
split-complementary
#470B4C #314C0B #0B4C27
monochromatic
#19041B #19041B #470B4C #791381 #AB1AB7

Accessibility & contrast

On white

14.79
#470B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#470B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470B4C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470B4C#FFFFFF#000000##FFFFFF
##470B4C1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#192A4B
Tritanopia (blue-blind)
#49172B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #470b4c;
/* rgb */ color: rgb(71, 11, 76);
/* oklch */ color: oklch(29.2% 0.121 324.6);
Tailwind
colors: {
  custom: {
    50: '#7d537e',
    500: '#470b4c',
    950: '#000000',
  },
}
SCSS
$custom: #470b4c;
$custom-light: #7d537e;
$custom-dark: #000000;
JSON
{
  "hex": "#470b4c",
  "rgb": {
    "r": 71,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 295.385,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2919,
    "c": 0.12057,
    "h": 324.6
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#470B4C
secondary
#32882B
accent
#F13645
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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