#470F71#470F71

#470F71 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.152 H 304.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#470F71
RGBrgb(71, 15, 113)
HSLhsl(274, 77%, 25%)
HSVhsv(274, 87%, 44%)
CMYKcmyk(37.2%, 86.7%, 0%, 55.7%)
CIE-LABlab(19.53, 43.13, -44.00)
CIE-LCHlch(19.53, 61.61, 314.43°)
OKLaboklab(32.61% 0.0864 -0.1255)
OKLCHoklch(32.61% 0.152 304.6)
XYZxyz(5.7493, 2.8735, 15.8713)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F71 #39710F
analogous
#160F71 #470F71 #710F6A
triadic
#470F71 #71470F #0F7147
tetradic
#470F71 #71160F #39710F #0F6A71
square
#470F71 #71160F #39710F #0F6A71
split-complementary
#470F71 #6A710F #0F7116
monochromatic
#11041B #25083B #470F71 #6916A7 #8B1DDD

Accessibility & contrast

On white

13.34
#470F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#470F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F71
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F71#FFFFFF#000000##FFFFFF
##470F711.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#3F2B42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #470f71;
/* rgb */ color: rgb(71, 15, 113);
/* oklch */ color: oklch(32.6% 0.152 304.6);
Tailwind
colors: {
  custom: {
    50: '#7f569b',
    500: '#470f71',
    950: '#000000',
  },
}
SCSS
$custom: #470f71;
$custom-light: #7f569b;
$custom-dark: #000000;
JSON
{
  "hex": "#470f71",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 274.286,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.1524,
    "h": 304.6
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#470F71
secondary
#65A933
accent
#F33586
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #470F71

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

Preview Lab → · Contrast checker → · Palette generator →

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