#470E5F#470E5F

#470E5F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.135 H 313.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#470E5F
RGBrgb(71, 14, 95)
HSLhsl(282, 74%, 21%)
HSVhsv(282, 85%, 37%)
CMYKcmyk(25.3%, 85.3%, 0%, 62.7%)
CIE-LABlab(17.83, 39.27, -34.96)
CIE-LCHlch(17.83, 52.58, 318.32°)
OKLaboklab(30.94% 0.0924 -0.0989)
OKLCHoklch(30.94% 0.135 313.1)
XYZxyz(4.8208, 2.4800, 11.0490)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470E5F #265F0E
analogous
#1F0E5F #470E5F #5F0E4F
triadic
#470E5F #5F470E #0E5F47
tetradic
#470E5F #5F1F0E #265F0E #0E4F5F
square
#470E5F #5F1F0E #265F0E #0E4F5F
split-complementary
#470E5F #4F5F0E #0E5F1F
monochromatic
#14041B #1F062A #470E5F #6F1694 #971ECA

Accessibility & contrast

On white

14.04
#470E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#470E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470E5F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470E5F#FFFFFF#000000##FFFFFF
##470E5F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#032D5D
Tritanopia (blue-blind)
#442237
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #470e5f;
/* rgb */ color: rgb(71, 14, 95);
/* oklch */ color: oklch(30.9% 0.135 313.1);
Tailwind
colors: {
  custom: {
    50: '#7e558d',
    500: '#470e5f',
    950: '#000000',
  },
}
SCSS
$custom: #470e5f;
$custom-light: #7e558d;
$custom-dark: #000000;
JSON
{
  "hex": "#470e5f",
  "rgb": {
    "r": 71,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 282.222,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30936,
    "c": 0.13541,
    "h": 313.1
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#470E5F
secondary
#4F9930
accent
#F1376E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #470E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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