#471970#471970

#471970 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.141 H 303.6°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#471970
RGBrgb(71, 25, 112)
HSLhsl(272, 64%, 27%)
HSVhsv(272, 78%, 44%)
CMYKcmyk(36.6%, 77.7%, 0%, 56.1%)
CIE-LABlab(20.85, 38.82, -41.20)
CIE-LCHlch(20.85, 56.61, 313.29°)
OKLaboklab(33.51% 0.078 -0.1174)
OKLCHoklch(33.51% 0.141 303.6)
XYZxyz(5.8701, 3.2047, 15.6354)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471970 #427019
analogous
#1B1970 #471970 #70196E
triadic
#471970 #704719 #197047
tetradic
#471970 #701B19 #427019 #196E70
square
#471970 #701B19 #427019 #196E70
split-complementary
#471970 #6E7019 #19701B
monochromatic
#100619 #270E3E #471970 #6724A2 #8632D1

Accessibility & contrast

On white

12.80
#471970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#471970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471970
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471970#FFFFFF#000000##FFFFFF
##4719701.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471970;
/* rgb */ color: rgb(71, 25, 112);
/* oklch */ color: oklch(33.5% 0.141 303.6);
Tailwind
colors: {
  custom: {
    50: '#7f5b9a',
    500: '#471970',
    950: '#000000',
  },
}
SCSS
$custom: #471970;
$custom-light: #7f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471970",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 271.724,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33507,
    "c": 0.14091,
    "h": 303.6
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#471970
secondary
#6FA540
accent
#E7418F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471970

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

Preview Lab → · Contrast checker → · Palette generator →

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