#471673#471673

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

Color values

HEX#471673
RGBrgb(71, 22, 115)
HSLhsl(272, 68%, 27%)
HSVhsv(272, 81%, 45%)
CMYKcmyk(38.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(20.64, 40.93, -43.48)
CIE-LCHlch(20.64, 59.71, 313.27°)
OKLaboklab(33.44% 0.0801 -0.124)
OKLCHoklch(33.44% 0.148 302.8)
XYZxyz(5.9792, 3.1512, 16.5096)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471673 #427316
analogous
#191673 #471673 #731671
triadic
#471673 #734716 #167347
tetradic
#471673 #731916 #427316 #167173
square
#471673 #731916 #427316 #167173
split-complementary
#471673 #717316 #167319
monochromatic
#10051A #270C40 #471673 #6720A6 #862DD7

Accessibility & contrast

On white

12.88
#471673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471673
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471673#FFFFFF#000000##FFFFFF
##4716731.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#3E2E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471673;
/* rgb */ color: rgb(71, 22, 115);
/* oklch */ color: oklch(33.4% 0.148 302.8);
Tailwind
colors: {
  custom: {
    50: '#7f599c',
    500: '#471673',
    950: '#000000',
  },
}
SCSS
$custom: #471673;
$custom-light: #7f599c;
$custom-dark: #000000;
JSON
{
  "hex": "#471673",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 271.613,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33443,
    "c": 0.14764,
    "h": 302.8
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#471673
secondary
#6FA93C
accent
#EB3D8F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471673

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

Preview Lab → · Contrast checker → · Palette generator →

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