#472D8D#472D8D

#472D8D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.150 H 290.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#472D8D
RGBrgb(71, 45, 141)
HSLhsl(256, 52%, 36%)
HSVhsv(256, 68%, 55%)
CMYKcmyk(49.6%, 68.1%, 0%, 44.7%)
CIE-LABlab(27.13, 36.32, -49.32)
CIE-LCHlch(27.13, 61.25, 306.37°)
OKLaboklab(38.75% 0.0514 -0.1413)
OKLCHoklch(38.75% 0.15 290)
XYZxyz(8.3433, 5.1391, 25.7465)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D8D #738D2D
analogous
#2D438D #472D8D #772D8D
triadic
#472D8D #8D472D #2D8D47
tetradic
#472D8D #8D2D43 #738D2D #2D8D77
square
#472D8D #8D2D43 #738D2D #2D8D77
split-complementary
#472D8D #8D772D #438D2D
monochromatic
#180F30 #301E5F #472D8D #5E3CBB #8266CE

Accessibility & contrast

On white

10.36
#472D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472D8D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D8D#FFFFFF#000000##FFFFFF
##472D8D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#304559
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472d8d;
/* rgb */ color: rgb(71, 45, 141);
/* oklch */ color: oklch(38.8% 0.150 290.0);
Tailwind
colors: {
  custom: {
    50: '#8168af',
    500: '#472d8d',
    950: '#000000',
  },
}
SCSS
$custom: #472d8d;
$custom-light: #8168af;
$custom-dark: #000000;
JSON
{
  "hex": "#472d8d",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 256.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.15039,
    "h": 290
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#472D8D
secondary
#9EB561
accent
#DB4DB5
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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