#471F72#471F72

#471F72 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.136 H 301.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#471F72
RGBrgb(71, 31, 114)
HSLhsl(269, 57%, 28%)
HSVhsv(269, 73%, 45%)
CMYKcmyk(37.7%, 72.8%, 0%, 55.3%)
CIE-LABlab(22.07, 36.37, -40.51)
CIE-LCHlch(22.07, 54.44, 311.92°)
OKLaboklab(34.43% 0.0711 -0.1154)
OKLCHoklch(34.43% 0.136 301.6)
XYZxyz(6.1251, 3.5344, 16.2759)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F72 #4A721F
analogous
#1F2072 #471F72 #701F72
triadic
#471F72 #72471F #1F7247
tetradic
#471F72 #721F20 #4A721F #1F7270
square
#471F72 #721F20 #4A721F #1F7270
split-complementary
#471F72 #72701F #20721F
monochromatic
#0F0718 #291242 #471F72 #652CA2 #8340CB

Accessibility & contrast

On white

12.30
#471F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#471F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F72
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F72#FFFFFF#000000##FFFFFF
##471F721.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#3E3346
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471f72;
/* rgb */ color: rgb(71, 31, 114);
/* oklch */ color: oklch(34.4% 0.136 301.6);
Tailwind
colors: {
  custom: {
    50: '#7e5e9b',
    500: '#471f72',
    950: '#000000',
  },
}
SCSS
$custom: #471f72;
$custom-light: #7e5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#471f72",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 268.916,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34426,
    "c": 0.13552,
    "h": 301.6
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#471F72
secondary
#78A647
accent
#E04797
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471F72

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

Preview Lab → · Contrast checker → · Palette generator →

#471F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva