#472E86#472E86

#472E86 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.140 H 291.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#472E86
RGBrgb(71, 46, 134)
HSLhsl(257, 49%, 35%)
HSVhsv(257, 66%, 53%)
CMYKcmyk(47%, 65.7%, 0%, 47.5%)
CIE-LABlab(26.78, 33.62, -45.54)
CIE-LCHlch(26.78, 56.60, 306.44°)
OKLaboklab(38.32% 0.0512 -0.1302)
OKLCHoklch(38.32% 0.14 291.5)
XYZxyz(7.8774, 5.0145, 23.1025)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E86 #6D862E
analogous
#2E4186 #472E86 #732E86
triadic
#472E86 #86472E #2E8647
tetradic
#472E86 #862E41 #6D862E #2E8673
square
#472E86 #862E41 #6D862E #2E8673
split-complementary
#472E86 #86732E #41862E
monochromatic
#170F2B #2F1E58 #472E86 #5F3EB4 #8164CA

Accessibility & contrast

On white

10.48
#472E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#472E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E86
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E86#FFFFFF#000000##FFFFFF
##472E861.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#344355
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472e86;
/* rgb */ color: rgb(71, 46, 134);
/* oklch */ color: oklch(38.3% 0.140 291.5);
Tailwind
colors: {
  custom: {
    50: '#8068aa',
    500: '#472e86',
    950: '#000000',
  },
}
SCSS
$custom: #472e86;
$custom-light: #8068aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472e86",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 257.045,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.13991,
    "h": 291.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#472E86
secondary
#9AB15F
accent
#D84FB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472E86

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

Preview Lab → · Contrast checker → · Palette generator →

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