#470F6E#470F6E

#470F6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.149 H 305.8°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#470F6E
RGBrgb(71, 15, 110)
HSLhsl(275, 76%, 25%)
HSVhsv(275, 86%, 43%)
CMYKcmyk(35.5%, 86.4%, 0%, 56.9%)
CIE-LABlab(19.25, 42.41, -42.50)
CIE-LCHlch(19.25, 60.04, 314.94°)
OKLaboklab(32.34% 0.0874 -0.1211)
OKLCHoklch(32.34% 0.149 305.8)
XYZxyz(5.5832, 2.8071, 14.9965)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F6E #366E0F
analogous
#170F6E #470F6E #6E0F66
triadic
#470F6E #6E470F #0F6E47
tetradic
#470F6E #6E170F #366E0F #0F666E
square
#470F6E #6E170F #366E0F #0F666E
split-complementary
#470F6E #666E0F #0F6E17
monochromatic
#11041B #240838 #470F6E #6A16A4 #8D1EDA

Accessibility & contrast

On white

13.45
#470F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470F6E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F6E#FFFFFF#000000##FFFFFF
##470F6E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#402940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #470f6e;
/* rgb */ color: rgb(71, 15, 110);
/* oklch */ color: oklch(32.3% 0.149 305.8);
Tailwind
colors: {
  custom: {
    50: '#7f5698',
    500: '#470f6e',
    950: '#000000',
  },
}
SCSS
$custom: #470f6e;
$custom-light: #7f5698;
$custom-dark: #000000;
JSON
{
  "hex": "#470f6e",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 275.368,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.14938,
    "h": 305.8
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#470F6E
secondary
#62A633
accent
#F33583
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #470F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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