#470C51#470C51

#470C51 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.124 H 321.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#470C51
RGBrgb(71, 12, 81)
HSLhsl(291, 74%, 18%)
HSVhsv(291, 85%, 32%)
CMYKcmyk(12.3%, 85.2%, 0%, 68.2%)
CIE-LABlab(16.49, 36.94, -27.70)
CIE-LCHlch(16.49, 46.17, 323.14°)
OKLaboklab(29.65% 0.0968 -0.0776)
OKLCHoklch(29.65% 0.124 321.3)
XYZxyz(4.2150, 2.1969, 7.9850)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C51 #16510C
analogous
#240C51 #470C51 #510C38
triadic
#470C51 #51470C #0C5147
tetradic
#470C51 #51240C #16510C #0C3851
square
#470C51 #51240C #16510C #0C3851
split-complementary
#470C51 #38510C #0C5124
monochromatic
#17041B #18041C #470C51 #761486 #A41CBC

Accessibility & contrast

On white

14.59
#470C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#470C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C51
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C51#FFFFFF#000000##FFFFFF
##470C511.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#152B4F
Tritanopia (blue-blind)
#481A2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #470c51;
/* rgb */ color: rgb(71, 12, 81);
/* oklch */ color: oklch(29.6% 0.124 321.3);
Tailwind
colors: {
  custom: {
    50: '#7d5382',
    500: '#470c51',
    950: '#000000',
  },
}
SCSS
$custom: #470c51;
$custom-light: #7d5382;
$custom-dark: #000000;
JSON
{
  "hex": "#470c51",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 291.304,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29646,
    "c": 0.12409,
    "h": 321.3
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#470C51
secondary
#3A8C2C
accent
#F13752
background
#F7F5F8
surface
#EEE8EF
border
#C9C4CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470C51

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

Preview Lab → · Contrast checker → · Palette generator →

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