#472E77#472E77

#472E77 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.120 H 295.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#472E77
RGBrgb(71, 46, 119)
HSLhsl(261, 44%, 32%)
HSVhsv(261, 61%, 47%)
CMYKcmyk(40.3%, 61.3%, 0%, 53.3%)
CIE-LABlab(25.64, 29.14, -37.93)
CIE-LCHlch(25.64, 47.83, 307.54°)
OKLaboklab(37.13% 0.0521 -0.1078)
OKLCHoklch(37.13% 0.12 295.8)
XYZxyz(6.9044, 4.6254, 17.9782)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E77 #5E772E
analogous
#2E3A77 #472E77 #6C2E77
triadic
#472E77 #77472E #2E7747
tetradic
#472E77 #772E3A #5E772E #2E776C
square
#472E77 #772E3A #5E772E #2E776C
split-complementary
#472E77 #776C2E #3A772E
monochromatic
#120C1F #2D1D4B #472E77 #613FA3 #805EC1

Accessibility & contrast

On white

10.91
#472E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#472E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E77
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E77#FFFFFF#000000##FFFFFF
##472E771.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D79
Deuteranopia (green-blind)
#0F3C75
Tritanopia (blue-blind)
#3B3E4E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472e77;
/* rgb */ color: rgb(71, 46, 119);
/* oklch */ color: oklch(37.1% 0.120 295.8);
Tailwind
colors: {
  custom: {
    50: '#7e689f',
    500: '#472e77',
    950: '#000000',
  },
}
SCSS
$custom: #472e77;
$custom-light: #7e689f;
$custom-dark: #000000;
JSON
{
  "hex": "#472e77",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 260.548,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3713,
    "c": 0.11977,
    "h": 295.8
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#472E77
secondary
#8DA859
accent
#D454A8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #472E77

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

Preview Lab → · Contrast checker → · Palette generator →

#472E77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva