#472D99#472D99

#472D99 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.166 H 287.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#472D99
RGBrgb(71, 45, 153)
HSLhsl(254, 55%, 39%)
HSVhsv(254, 71%, 60%)
CMYKcmyk(53.6%, 70.6%, 0%, 40%)
CIE-LABlab(28.16, 39.95, -55.02)
CIE-LCHlch(28.16, 68.00, 305.98°)
OKLaboklab(39.81% 0.0495 -0.1581)
OKLCHoklch(39.81% 0.166 287.4)
XYZxyz(9.2850, 5.5158, 30.7062)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D99 #7F992D
analogous
#2D4999 #472D99 #7D2D99
triadic
#472D99 #99472D #2D9947
tetradic
#472D99 #992D49 #7F992D #2D997D
square
#472D99 #992D49 #7F992D #2D997D
split-complementary
#472D99 #997D2D #49992D
monochromatic
#1B113A #311F6A #472D99 #5E3DC6 #856CD4

Accessibility & contrast

On white

9.98
#472D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#472D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D99
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D99#FFFFFF#000000##FFFFFF
##472D991.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#27495F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472d99;
/* rgb */ color: rgb(71, 45, 153);
/* oklch */ color: oklch(39.8% 0.166 287.4);
Tailwind
colors: {
  custom: {
    50: '#8368b8',
    500: '#472d99',
    950: '#000000',
  },
}
SCSS
$custom: #472d99;
$custom-light: #8368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472d99",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 254.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.16564,
    "h": 287.4
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#472D99
secondary
#A7BB67
accent
#DE4ABA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472D99

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

Preview Lab → · Contrast checker → · Palette generator →

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