#470F76#470F76

#470F76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.157 H 302.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#470F76
RGBrgb(71, 15, 118)
HSLhsl(273, 77%, 26%)
HSVhsv(273, 87%, 46%)
CMYKcmyk(39.8%, 87.3%, 0%, 53.7%)
CIE-LABlab(20.00, 44.34, -46.45)
CIE-LCHlch(20.00, 64.22, 313.67°)
OKLaboklab(33.08% 0.0847 -0.1327)
OKLCHoklch(33.08% 0.157 302.5)
XYZxyz(6.0386, 2.9892, 17.3949)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F76 #3E760F
analogous
#130F76 #470F76 #760F71
triadic
#470F76 #76470F #0F7647
tetradic
#470F76 #76130F #3E760F #0F7176
square
#470F76 #76130F #3E760F #0F7176
split-complementary
#470F76 #71760F #0F7613
monochromatic
#10031B #260840 #470F76 #6816AC #881DE2

Accessibility & contrast

On white

13.14
#470F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#470F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F76
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F76#FFFFFF#000000##FFFFFF
##470F761.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#3D2D45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #470f76;
/* rgb */ color: rgb(71, 15, 118);
/* oklch */ color: oklch(33.1% 0.157 302.5);
Tailwind
colors: {
  custom: {
    50: '#80579e',
    500: '#470f76',
    950: '#000000',
  },
}
SCSS
$custom: #470f76;
$custom-light: #80579e;
$custom-dark: #000000;
JSON
{
  "hex": "#470f76",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 272.621,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.15744,
    "h": 302.5
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#470F76
secondary
#6BAD33
accent
#F4348C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #470F76

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

Preview Lab → · Contrast checker → · Palette generator →

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