#470F6A#470F6A

#470F6A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.145 H 307.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#470F6A
RGBrgb(71, 15, 106)
HSLhsl(277, 75%, 24%)
HSVhsv(277, 86%, 42%)
CMYKcmyk(33%, 85.8%, 0%, 58.4%)
CIE-LABlab(18.89, 41.46, -40.48)
CIE-LCHlch(18.89, 57.95, 315.68°)
OKLaboklab(31.98% 0.0887 -0.1152)
OKLCHoklch(31.98% 0.145 307.6)
XYZxyz(5.3703, 2.7219, 13.8753)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F6A #326A0F
analogous
#190F6A #470F6A #6A0F5F
triadic
#470F6A #6A470F #0F6A47
tetradic
#470F6A #6A190F #326A0F #0F5F6A
square
#470F6A #6A190F #326A0F #0F5F6A
split-complementary
#470F6A #5F6A0F #0F6A19
monochromatic
#12041B #230734 #470F6A #6B17A0 #8F1ED5

Accessibility & contrast

On white

13.60
#470F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#470F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F6A
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F6A#FFFFFF#000000##FFFFFF
##470F6A1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#41283D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #470f6a;
/* rgb */ color: rgb(71, 15, 106);
/* oklch */ color: oklch(32.0% 0.145 307.6);
Tailwind
colors: {
  custom: {
    50: '#7f5695',
    500: '#470f6a',
    950: '#000000',
  },
}
SCSS
$custom: #470f6a;
$custom-light: #7f5695;
$custom-dark: #000000;
JSON
{
  "hex": "#470f6a",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 276.923,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31976,
    "c": 0.14537,
    "h": 307.6
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#470F6A
secondary
#5DA232
accent
#F2367E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #470F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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