#472C99#472C99

#472C99 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.167 H 287.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#472C99
RGBrgb(71, 44, 153)
HSLhsl(255, 55%, 39%)
HSVhsv(255, 71%, 60%)
CMYKcmyk(53.6%, 71.2%, 0%, 40%)
CIE-LABlab(27.95, 40.51, -55.35)
CIE-LCHlch(27.95, 68.59, 306.20°)
OKLaboklab(39.66% 0.0504 -0.159)
OKLCHoklch(39.66% 0.167 287.6)
XYZxyz(9.2473, 5.4404, 30.6937)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C99 #7E992C
analogous
#2C4799 #472C99 #7D2C99
triadic
#472C99 #99472C #2C9947
tetradic
#472C99 #992C47 #7E992C #2C997D
square
#472C99 #992C47 #7E992C #2C997D
split-complementary
#472C99 #997D2C #47992C
monochromatic
#1B113A #311E69 #472C99 #5E3BC7 #856BD4

Accessibility & contrast

On white

10.06
#472C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#472C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C99
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C99#FFFFFF#000000##FFFFFF
##472C991.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472c99;
/* rgb */ color: rgb(71, 44, 153);
/* oklch */ color: oklch(39.7% 0.167 287.6);
Tailwind
colors: {
  custom: {
    50: '#8367b8',
    500: '#472c99',
    950: '#000000',
  },
}
SCSS
$custom: #472c99;
$custom-light: #8367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472c99",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 254.862,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39663,
    "c": 0.16684,
    "h": 287.6
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#472C99
secondary
#A6BB66
accent
#DF49BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472C99

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

Preview Lab → · Contrast checker → · Palette generator →

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