#471173#471173

#471173 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.153 H 303.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#471173
RGBrgb(71, 17, 115)
HSLhsl(273, 74%, 26%)
HSVhsv(273, 85%, 45%)
CMYKcmyk(38.3%, 85.2%, 0%, 54.9%)
CIE-LABlab(19.96, 42.91, -44.59)
CIE-LCHlch(19.96, 61.88, 313.90°)
OKLaboklab(32.97% 0.0843 -0.1273)
OKLCHoklch(32.97% 0.153 303.5)
XYZxyz(5.8928, 2.9783, 16.4808)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471173 #3D7311
analogous
#161173 #471173 #73116E
triadic
#471173 #734711 #117347
tetradic
#471173 #731611 #3D7311 #116E73
square
#471173 #731611 #3D7311 #116E73
split-complementary
#471173 #6E7311 #117316
monochromatic
#10041B #26093E #471173 #6819A8 #8921DE

Accessibility & contrast

On white

13.16
#471173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#471173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471173
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471173#FFFFFF#000000##FFFFFF
##4711731.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#3E2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471173;
/* rgb */ color: rgb(71, 17, 115);
/* oklch */ color: oklch(33.0% 0.153 303.5);
Tailwind
colors: {
  custom: {
    50: '#7f579c',
    500: '#471173',
    950: '#000000',
  },
}
SCSS
$custom: #471173;
$custom-light: #7f579c;
$custom-dark: #000000;
JSON
{
  "hex": "#471173",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 273.061,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.15264,
    "h": 303.5
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#471173
secondary
#6AAA36
accent
#F1378A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #471173

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

Preview Lab → · Contrast checker → · Palette generator →

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