#472177#472177

#472177 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.139 H 299.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#472177
RGBrgb(71, 33, 119)
HSLhsl(267, 57%, 30%)
HSVhsv(267, 72%, 47%)
CMYKcmyk(40.3%, 72.3%, 0%, 53.3%)
CIE-LABlab(22.86, 36.67, -42.43)
CIE-LCHlch(22.86, 56.08, 310.84°)
OKLaboklab(35.12% 0.068 -0.121)
OKLCHoklch(35.12% 0.139 299.3)
XYZxyz(6.4713, 3.7591, 17.8338)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472177 #517721
analogous
#212677 #472177 #722177
triadic
#472177 #774721 #217747
tetradic
#472177 #772126 #517721 #217772
square
#472177 #772126 #517721 #217772
split-complementary
#472177 #777221 #267721
monochromatic
#0E0718 #2A1447 #472177 #642EA7 #8147CC

Accessibility & contrast

On white

11.99
#472177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#472177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472177
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472177#FFFFFF#000000##FFFFFF
##4721771.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#3C3649
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #472177;
/* rgb */ color: rgb(71, 33, 119);
/* oklch */ color: oklch(35.1% 0.139 299.3);
Tailwind
colors: {
  custom: {
    50: '#7f5f9f',
    500: '#472177',
    950: '#000000',
  },
}
SCSS
$custom: #472177;
$custom-light: #7f5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#472177",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 266.512,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35119,
    "c": 0.13882,
    "h": 299.3
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#472177
secondary
#80AA4A
accent
#E0489D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472177

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

Preview Lab → · Contrast checker → · Palette generator →

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