#472D8E#472D8E

#472D8E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.152 H 289.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#472D8E
RGBrgb(71, 45, 142)
HSLhsl(256, 52%, 37%)
HSVhsv(256, 68%, 56%)
CMYKcmyk(50%, 68.3%, 0%, 44.3%)
CIE-LABlab(27.21, 36.62, -49.80)
CIE-LCHlch(27.21, 61.82, 306.33°)
OKLaboklab(38.84% 0.0513 -0.1427)
OKLCHoklch(38.84% 0.152 289.8)
XYZxyz(8.4180, 5.1690, 26.1401)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D8E #748E2D
analogous
#2D448E #472D8E #782D8E
triadic
#472D8E #8E472D #2D8E47
tetradic
#472D8E #8E2D44 #748E2D #2D8E78
square
#472D8E #8E2D44 #748E2D #2D8E78
split-complementary
#472D8E #8E782D #448E2D
monochromatic
#191031 #301E60 #472D8E #5E3CBC #8367CF

Accessibility & contrast

On white

10.33
#472D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#472D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D8E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D8E#FFFFFF#000000##FFFFFF
##472D8E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#2F4559
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472d8e;
/* rgb */ color: rgb(71, 45, 142);
/* oklch */ color: oklch(38.8% 0.152 289.8);
Tailwind
colors: {
  custom: {
    50: '#8168b0',
    500: '#472d8e',
    950: '#000000',
  },
}
SCSS
$custom: #472d8e;
$custom-light: #8168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#472d8e",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 256.082,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.15168,
    "h": 289.8
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#472D8E
secondary
#9FB561
accent
#DB4CB5
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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