#471374#471374

#471374 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.152 H 302.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#471374
RGBrgb(71, 19, 116)
HSLhsl(272, 72%, 26%)
HSVhsv(272, 84%, 45%)
CMYKcmyk(38.8%, 83.6%, 0%, 54.5%)
CIE-LABlab(20.31, 42.40, -44.66)
CIE-LCHlch(20.31, 61.58, 313.51°)
OKLaboklab(33.24% 0.0824 -0.1275)
OKLCHoklch(33.24% 0.152 302.9)
XYZxyz(5.9830, 3.0663, 16.7963)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471374 #407413
analogous
#171374 #471374 #741371
triadic
#471374 #744713 #137447
tetradic
#471374 #741713 #407413 #137174
square
#471374 #741713 #407413 #137174
split-complementary
#471374 #717413 #137417
monochromatic
#10041A #270A3F #471374 #671CA9 #8726DB

Accessibility & contrast

On white

13.02
#471374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#471374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471374
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471374#FFFFFF#000000##FFFFFF
##4713741.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3D2E44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471374;
/* rgb */ color: rgb(71, 19, 116);
/* oklch */ color: oklch(33.2% 0.152 302.9);
Tailwind
colors: {
  custom: {
    50: '#7f589d',
    500: '#471374',
    950: '#000000',
  },
}
SCSS
$custom: #471374;
$custom-light: #7f589d;
$custom-dark: #000000;
JSON
{
  "hex": "#471374",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 272.165,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.15179,
    "h": 302.9
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#471374
secondary
#6DAA38
accent
#EF398D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471374

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

Preview Lab → · Contrast checker → · Palette generator →

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