#472371#472371

#472371 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.129 H 301.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#472371
RGBrgb(71, 35, 113)
HSLhsl(268, 53%, 29%)
HSVhsv(268, 69%, 44%)
CMYKcmyk(37.2%, 69%, 0%, 55.7%)
CIE-LABlab(22.77, 33.93, -38.72)
CIE-LCHlch(22.77, 51.49, 311.23°)
OKLaboklab(34.9% 0.0666 -0.1101)
OKLCHoklch(34.9% 0.129 301.1)
XYZxyz(6.1795, 3.7339, 16.0147)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472371 #4D7123
analogous
#232671 #472371 #6E2371
triadic
#472371 #714723 #237147
tetradic
#472371 #712326 #4D7123 #23716E
square
#472371 #712326 #4D7123 #23716E
split-complementary
#472371 #716E23 #267123
monochromatic
#0F0717 #2A1542 #472371 #6431A0 #8248C6

Accessibility & contrast

On white

12.02
#472371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#472371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472371
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472371#FFFFFF#000000##FFFFFF
##4723711.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#00366F
Tritanopia (blue-blind)
#3E3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #472371;
/* rgb */ color: rgb(71, 35, 113);
/* oklch */ color: oklch(34.9% 0.129 301.1);
Tailwind
colors: {
  custom: {
    50: '#7e609a',
    500: '#472371',
    950: '#000000',
  },
}
SCSS
$custom: #472371;
$custom-light: #7e609a;
$custom-dark: #000000;
JSON
{
  "hex": "#472371",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 267.692,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.12869,
    "h": 301.1
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#472371
secondary
#7BA44C
accent
#DC4C99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472371

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

Preview Lab → · Contrast checker → · Palette generator →

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