#470F6D#470F6D

#470F6D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.148 H 306.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#470F6D
RGBrgb(71, 15, 109)
HSLhsl(276, 76%, 24%)
HSVhsv(276, 86%, 43%)
CMYKcmyk(34.9%, 86.2%, 0%, 57.3%)
CIE-LABlab(19.16, 42.17, -42.00)
CIE-LCHlch(19.16, 59.52, 315.12°)
OKLaboklab(32.25% 0.0878 -0.1196)
OKLCHoklch(32.25% 0.148 306.3)
XYZxyz(5.5291, 2.7854, 14.7114)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F6D #356D0F
analogous
#180F6D #470F6D #6D0F64
triadic
#470F6D #6D470F #0F6D47
tetradic
#470F6D #6D180F #356D0F #0F646D
square
#470F6D #6D180F #356D0F #0F646D
split-complementary
#470F6D #646D0F #0F6D18
monochromatic
#12041B #240837 #470F6D #6A16A3 #8D1ED9

Accessibility & contrast

On white

13.49
#470F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#470F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F6D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F6D#FFFFFF#000000##FFFFFF
##470F6D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#40293F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #470f6d;
/* rgb */ color: rgb(71, 15, 109);
/* oklch */ color: oklch(32.2% 0.148 306.3);
Tailwind
colors: {
  custom: {
    50: '#7f5698',
    500: '#470f6d',
    950: '#000000',
  },
}
SCSS
$custom: #470f6d;
$custom-light: #7f5698;
$custom-dark: #000000;
JSON
{
  "hex": "#470f6d",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 109
  },
  "hsl": {
    "h": 275.745,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.14838,
    "h": 306.3
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#470F6D
secondary
#61A533
accent
#F23582
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #470F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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