#472076#472076

#472076 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.139 H 299.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#472076
RGBrgb(71, 32, 118)
HSLhsl(267, 57%, 29%)
HSVhsv(267, 73%, 46%)
CMYKcmyk(39.8%, 72.9%, 0%, 53.7%)
CIE-LABlab(22.59, 36.93, -42.23)
CIE-LCHlch(22.59, 56.10, 311.17°)
OKLaboklab(34.9% 0.0693 -0.1204)
OKLCHoklch(34.9% 0.139 299.9)
XYZxyz(6.3842, 3.6806, 17.5101)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472076 #4F7620
analogous
#202476 #472076 #722076
triadic
#472076 #764720 #207647
tetradic
#472076 #762024 #4F7620 #207672
square
#472076 #762024 #4F7620 #207672
split-complementary
#472076 #767220 #247620
monochromatic
#0E0718 #2A1346 #472076 #642DA6 #8244CC

Accessibility & contrast

On white

12.10
#472076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#472076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472076
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472076#FFFFFF#000000##FFFFFF
##4720761.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472076;
/* rgb */ color: rgb(71, 32, 118);
/* oklch */ color: oklch(34.9% 0.139 299.9);
Tailwind
colors: {
  custom: {
    50: '#7f5f9e',
    500: '#472076',
    950: '#000000',
  },
}
SCSS
$custom: #472076;
$custom-light: #7f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#472076",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 267.209,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.13896,
    "h": 299.9
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#472076
secondary
#7DA948
accent
#E1479B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472076

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

Preview Lab → · Contrast checker → · Palette generator →

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