#470F68#470F68

#470F68 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.143 H 308.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#470F68
RGBrgb(71, 15, 104)
HSLhsl(278, 75%, 23%)
HSVhsv(278, 86%, 41%)
CMYKcmyk(31.7%, 85.6%, 0%, 59.2%)
CIE-LABlab(18.72, 40.99, -39.46)
CIE-LCHlch(18.72, 56.90, 316.09°)
OKLaboklab(31.8% 0.0893 -0.1122)
OKLCHoklch(31.8% 0.143 308.5)
XYZxyz(5.2675, 2.6808, 13.3340)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F68 #30680F
analogous
#1A0F68 #470F68 #680F5C
triadic
#470F68 #68470F #0F6847
tetradic
#470F68 #681A0F #30680F #0F5C68
square
#470F68 #681A0F #30680F #0F5C68
split-complementary
#470F68 #5C680F #0F681A
monochromatic
#12041B #220733 #470F68 #6C179D #901ED3

Accessibility & contrast

On white

13.67
#470F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470F68
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F68#FFFFFF#000000##FFFFFF
##470F681.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#42273C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #470f68;
/* rgb */ color: rgb(71, 15, 104);
/* oklch */ color: oklch(31.8% 0.143 308.5);
Tailwind
colors: {
  custom: {
    50: '#7e5694',
    500: '#470f68',
    950: '#000000',
  },
}
SCSS
$custom: #470f68;
$custom-light: #7e5694;
$custom-dark: #000000;
JSON
{
  "hex": "#470f68",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 277.753,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31798,
    "c": 0.14335,
    "h": 308.5
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#470F68
secondary
#5BA132
accent
#F1367C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #470F68

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

Preview Lab → · Contrast checker → · Palette generator →

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