#471672#471672

#471672 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.147 H 303.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#471672
RGBrgb(71, 22, 114)
HSLhsl(272, 68%, 27%)
HSVhsv(272, 81%, 45%)
CMYKcmyk(37.7%, 80.7%, 0%, 55.3%)
CIE-LABlab(20.55, 40.67, -42.98)
CIE-LCHlch(20.55, 59.17, 313.42°)
OKLaboklab(33.35% 0.0804 -0.1226)
OKLCHoklch(33.35% 0.147 303.2)
XYZxyz(5.9220, 3.1283, 16.2082)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471672 #417216
analogous
#191672 #471672 #72166F
triadic
#471672 #724716 #167247
tetradic
#471672 #721916 #417216 #166F72
square
#471672 #721916 #417216 #166F72
split-complementary
#471672 #6F7216 #167219
monochromatic
#10051A #270C3F #471672 #6720A5 #872CD6

Accessibility & contrast

On white

12.92
#471672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471672
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471672#FFFFFF#000000##FFFFFF
##4716721.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#3E2E44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471672;
/* rgb */ color: rgb(71, 22, 114);
/* oklch */ color: oklch(33.4% 0.147 303.2);
Tailwind
colors: {
  custom: {
    50: '#7f599b',
    500: '#471672',
    950: '#000000',
  },
}
SCSS
$custom: #471672;
$custom-light: #7f599b;
$custom-dark: #000000;
JSON
{
  "hex": "#471672",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 271.957,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33353,
    "c": 0.14656,
    "h": 303.2
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#471672
secondary
#6EA83C
accent
#EB3D8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471672

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

Preview Lab → · Contrast checker → · Palette generator →

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