#471381#471381

#471381 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.165 H 298.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#471381
RGBrgb(71, 19, 129)
HSLhsl(268, 74%, 29%)
HSVhsv(268, 85%, 51%)
CMYKcmyk(45%, 85.3%, 0%, 49.4%)
CIE-LABlab(21.54, 45.67, -50.94)
CIE-LCHlch(21.54, 68.41, 311.88°)
OKLaboklab(34.47% 0.0779 -0.1459)
OKLCHoklch(34.47% 0.165 298.1)
XYZxyz(6.7928, 3.3902, 21.0611)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471381 #4D8113
analogous
#131681 #471381 #7E1381
triadic
#471381 #814713 #138147
tetradic
#471381 #811316 #4D8113 #13817E
square
#471381 #811316 #4D8113 #13817E
split-complementary
#471381 #817E13 #168113
monochromatic
#0F041B #2A0B4C #471381 #641BB6 #822EE0

Accessibility & contrast

On white

12.51
#471381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471381
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471381#FFFFFF#000000##FFFFFF
##4713811.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#38334C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471381;
/* rgb */ color: rgb(71, 19, 129);
/* oklch */ color: oklch(34.5% 0.165 298.1);
Tailwind
colors: {
  custom: {
    50: '#8159a7',
    500: '#471381',
    950: '#000000',
  },
}
SCSS
$custom: #471381;
$custom-light: #8159a7;
$custom-dark: #000000;
JSON
{
  "hex": "#471381",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 268.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34474,
    "c": 0.16541,
    "h": 298.1
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#471381
secondary
#7BB63A
accent
#F13799
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471381

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

Preview Lab → · Contrast checker → · Palette generator →

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