#470E5B#470E5B

#470E5B is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.132 H 315.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#470E5B
RGBrgb(71, 14, 91)
HSLhsl(284, 73%, 21%)
HSVhsv(284, 85%, 36%)
CMYKcmyk(22%, 84.6%, 0%, 64.3%)
CIE-LABlab(17.50, 38.38, -32.82)
CIE-LCHlch(17.50, 50.50, 319.46°)
OKLaboklab(30.61% 0.0933 -0.0927)
OKLCHoklch(30.61% 0.132 315.2)
XYZxyz(4.6436, 2.4092, 10.1159)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470E5B #225B0E
analogous
#210E5B #470E5B #5B0E48
triadic
#470E5B #5B470E #0E5B47
tetradic
#470E5B #5B210E #225B0E #0E485B
square
#470E5B #5B210E #225B0E #0E485B
split-complementary
#470E5B #485B0E #0E5B21
monochromatic
#15041B #1E0626 #470E5B #701690 #9A1EC5

Accessibility & contrast

On white

14.17
#470E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#470E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470E5B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470E5B#FFFFFF#000000##FFFFFF
##470E5B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#0A2C59
Tritanopia (blue-blind)
#452035
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #470e5b;
/* rgb */ color: rgb(71, 14, 91);
/* oklch */ color: oklch(30.6% 0.132 315.2);
Tailwind
colors: {
  custom: {
    50: '#7e558a',
    500: '#470e5b',
    950: '#000000',
  },
}
SCSS
$custom: #470e5b;
$custom-light: #7e558a;
$custom-dark: #000000;
JSON
{
  "hex": "#470e5b",
  "rgb": {
    "r": 71,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 284.416,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30605,
    "c": 0.1315,
    "h": 315.2
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#470E5B
secondary
#4A9530
accent
#F03868
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #470E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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