#471870#471870

#471870 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.142 H 303.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#471870
RGBrgb(71, 24, 112)
HSLhsl(272, 65%, 27%)
HSVhsv(272, 79%, 44%)
CMYKcmyk(36.6%, 78.6%, 0%, 56.1%)
CIE-LABlab(20.68, 39.28, -41.47)
CIE-LCHlch(20.68, 57.12, 313.45°)
OKLaboklab(33.39% 0.079 -0.1181)
OKLCHoklch(33.39% 0.142 303.8)
XYZxyz(5.8491, 3.1627, 15.6284)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471870 #417018
analogous
#1B1870 #471870 #70186D
triadic
#471870 #704718 #187047
tetradic
#471870 #701B18 #417018 #186D70
square
#471870 #701B18 #417018 #186D70
split-complementary
#471870 #6D7018 #18701B
monochromatic
#100519 #270D3E #471870 #6723A2 #8730D3

Accessibility & contrast

On white

12.86
#471870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#471870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471870
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471870#FFFFFF#000000##FFFFFF
##4718701.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#3F2E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471870;
/* rgb */ color: rgb(71, 24, 112);
/* oklch */ color: oklch(33.4% 0.142 303.8);
Tailwind
colors: {
  custom: {
    50: '#7f5a9a',
    500: '#471870',
    950: '#000000',
  },
}
SCSS
$custom: #471870;
$custom-light: #7f5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471870",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 272.045,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33393,
    "c": 0.14211,
    "h": 303.8
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#471870
secondary
#6EA53E
accent
#E8408E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471870

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

Preview Lab → · Contrast checker → · Palette generator →

#471870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva