#472C9E#472C9E

#472C9E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.173 H 286.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#472C9E
RGBrgb(71, 44, 158)
HSLhsl(254, 56%, 40%)
HSVhsv(254, 72%, 62%)
CMYKcmyk(55.1%, 72.2%, 0%, 38%)
CIE-LABlab(28.40, 42.01, -57.67)
CIE-LCHlch(28.40, 71.35, 306.07°)
OKLaboklab(40.12% 0.0494 -0.1658)
OKLCHoklch(40.12% 0.173 286.6)
XYZxyz(9.6689, 5.6091, 32.9143)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C9E #839E2C
analogous
#2C4A9E #472C9E #802C9E
triadic
#472C9E #9E472C #2C9E47
tetradic
#472C9E #9E2C4A #839E2C #2C9E80
square
#472C9E #9E2C4A #839E2C #2C9E80
split-complementary
#472C9E #9E802C #4A9E2C
monochromatic
#1C113E #311F6E #472C9E #5F3EC9 #876ED7

Accessibility & contrast

On white

9.90
#472C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#472C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C9E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C9E#FFFFFF#000000##FFFFFF
##472C9E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#224A62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472c9e;
/* rgb */ color: rgb(71, 44, 158);
/* oklch */ color: oklch(40.1% 0.173 286.6);
Tailwind
colors: {
  custom: {
    50: '#8468bc',
    500: '#472c9e',
    950: '#000000',
  },
}
SCSS
$custom: #472c9e;
$custom-light: #8468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#472c9e",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 254.211,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.17303,
    "h": 286.6
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#472C9E
secondary
#A9BE68
accent
#E048BC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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