#471174#471174

#471174 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.154 H 303.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#471174
RGBrgb(71, 17, 116)
HSLhsl(273, 74%, 26%)
HSVhsv(273, 85%, 45%)
CMYKcmyk(38.8%, 85.3%, 0%, 54.5%)
CIE-LABlab(20.05, 43.15, -45.09)
CIE-LCHlch(20.05, 62.41, 313.75°)
OKLaboklab(33.06% 0.0839 -0.1287)
OKLCHoklch(33.06% 0.154 303.1)
XYZxyz(5.9506, 3.0014, 16.7854)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471174 #3E7411
analogous
#151174 #471174 #74116F
triadic
#471174 #744711 #117447
tetradic
#471174 #741511 #3E7411 #116F74
square
#471174 #741511 #3E7411 #116F74
split-complementary
#471174 #6F7411 #117415
monochromatic
#10041B #26093F #471174 #6819A9 #8821DE

Accessibility & contrast

On white

13.12
#471174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471174
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471174#FFFFFF#000000##FFFFFF
##4711741.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#3E2D44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471174;
/* rgb */ color: rgb(71, 17, 116);
/* oklch */ color: oklch(33.1% 0.154 303.1);
Tailwind
colors: {
  custom: {
    50: '#80579d',
    500: '#471174',
    950: '#000000',
  },
}
SCSS
$custom: #471174;
$custom-light: #80579d;
$custom-dark: #000000;
JSON
{
  "hex": "#471174",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 272.727,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.15367,
    "h": 303.1
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#471174
secondary
#6BAB36
accent
#F1378B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471174

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

Preview Lab → · Contrast checker → · Palette generator →

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