#472D88#472D88

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

Color values

HEX#472D88
RGBrgb(71, 45, 136)
HSLhsl(257, 50%, 35%)
HSVhsv(257, 67%, 53%)
CMYKcmyk(47.8%, 66.9%, 0%, 46.7%)
CIE-LABlab(26.72, 34.81, -46.88)
CIE-LCHlch(26.72, 58.39, 306.60°)
OKLaboklab(38.32% 0.0521 -0.1341)
OKLCHoklch(38.32% 0.144 291.2)
XYZxyz(7.9796, 4.9937, 23.8312)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D88 #6E882D
analogous
#2D4088 #472D88 #742D88
triadic
#472D88 #88472D #2D8847
tetradic
#472D88 #882D40 #6E882D #2D8874
square
#472D88 #882D40 #6E882D #2D8874
split-complementary
#472D88 #88742D #40882D
monochromatic
#170F2C #2F1E5A #472D88 #5F3CB6 #8164CC

Accessibility & contrast

On white

10.51
#472D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472D88
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D88#FFFFFF#000000##FFFFFF
##472D881.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#334356
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472d88;
/* rgb */ color: rgb(71, 45, 136);
/* oklch */ color: oklch(38.3% 0.144 291.2);
Tailwind
colors: {
  custom: {
    50: '#8067ab',
    500: '#472d88',
    950: '#000000',
  },
}
SCSS
$custom: #472d88;
$custom-light: #8067ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472d88",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 257.143,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.14391,
    "h": 291.2
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#472D88
secondary
#9AB25F
accent
#DA4EB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472D88

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

Preview Lab → · Contrast checker → · Palette generator →

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