#472176#472176

#472176 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.138 H 299.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#472176
RGBrgb(71, 33, 118)
HSLhsl(267, 56%, 30%)
HSVhsv(267, 72%, 46%)
CMYKcmyk(39.8%, 72%, 0%, 53.7%)
CIE-LABlab(22.78, 36.40, -41.92)
CIE-LCHlch(22.78, 55.52, 310.97°)
OKLaboklab(35.03% 0.0682 -0.1195)
OKLCHoklch(35.03% 0.138 299.7)
XYZxyz(6.4116, 3.7352, 17.5192)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472176 #507621
analogous
#212576 #472176 #722176
triadic
#472176 #764721 #217647
tetradic
#472176 #762125 #507621 #217672
square
#472176 #762125 #507621 #217672
split-complementary
#472176 #767221 #257621
monochromatic
#0E0718 #2A1446 #472176 #642EA6 #8246CB

Accessibility & contrast

On white

12.02
#472176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472176
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472176#FFFFFF#000000##FFFFFF
##4721761.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#3C3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #472176;
/* rgb */ color: rgb(71, 33, 118);
/* oklch */ color: oklch(35.0% 0.138 299.7);
Tailwind
colors: {
  custom: {
    50: '#7f5f9e',
    500: '#472176',
    950: '#000000',
  },
}
SCSS
$custom: #472176;
$custom-light: #7f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#472176",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 266.824,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.13762,
    "h": 299.7
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#472176
secondary
#7EA94A
accent
#E0489C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472176

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

Preview Lab → · Contrast checker → · Palette generator →

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