#470F74#470F74

#470F74 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.155 H 303.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#470F74
RGBrgb(71, 15, 116)
HSLhsl(273, 77%, 26%)
HSVhsv(273, 87%, 45%)
CMYKcmyk(38.8%, 87.1%, 0%, 54.5%)
CIE-LABlab(19.81, 43.85, -45.48)
CIE-LCHlch(19.81, 63.17, 313.96°)
OKLaboklab(32.9% 0.0854 -0.1298)
OKLCHoklch(32.9% 0.155 303.3)
XYZxyz(5.9210, 2.9422, 16.7756)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F74 #3C740F
analogous
#140F74 #470F74 #740F6E
triadic
#470F74 #74470F #0F7447
tetradic
#470F74 #74140F #3C740F #0F6E74
square
#470F74 #74140F #3C740F #0F6E74
split-complementary
#470F74 #6E740F #0F7414
monochromatic
#11041B #26083E #470F74 #6816AA #891DE0

Accessibility & contrast

On white

13.22
#470F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#470F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F74
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F74#FFFFFF#000000##FFFFFF
##470F741.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#3E2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #470f74;
/* rgb */ color: rgb(71, 15, 116);
/* oklch */ color: oklch(32.9% 0.155 303.3);
Tailwind
colors: {
  custom: {
    50: '#80579d',
    500: '#470f74',
    950: '#000000',
  },
}
SCSS
$custom: #470f74;
$custom-light: #80579d;
$custom-dark: #000000;
JSON
{
  "hex": "#470f74",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 273.267,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.15542,
    "h": 303.3
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#470F74
secondary
#69AC33
accent
#F43489
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #470F74

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

Preview Lab → · Contrast checker → · Palette generator →

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