#472AA9#472AA9

#472AA9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.189 H 284.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#472AA9
RGBrgb(71, 42, 169)
HSLhsl(254, 60%, 41%)
HSVhsv(254, 75%, 66%)
CMYKcmyk(58%, 75.1%, 0%, 33.7%)
CIE-LABlab(29.06, 46.36, -63.26)
CIE-LCHlch(29.06, 78.43, 306.24°)
OKLaboklab(40.9% 0.0485 -0.1822)
OKLCHoklch(40.9% 0.189 284.9)
XYZxyz(10.5857, 5.8595, 38.1016)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AA9 #8CA92A
analogous
#2A4DA9 #472AA9 #872AA9
triadic
#472AA9 #A9472A #2AA947
tetradic
#472AA9 #A92A4D #8CA92A #2AA987
square
#472AA9 #A92A4D #8CA92A #2AA987
split-complementary
#472AA9 #A9872A #4DA92A
monochromatic
#1E1247 #321E78 #472AA9 #6141D0 #8A72DC

Accessibility & contrast

On white

9.67
#472AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#472AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AA9
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AA9#FFFFFF#000000##FFFFFF
##472AA91.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#134D67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472aa9;
/* rgb */ color: rgb(71, 42, 169);
/* oklch */ color: oklch(40.9% 0.189 284.9);
Tailwind
colors: {
  custom: {
    50: '#8667c4',
    500: '#472aa9',
    950: '#000000',
  },
}
SCSS
$custom: #472aa9;
$custom-light: #8667c4;
$custom-dark: #000000;
JSON
{
  "hex": "#472aa9",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 253.701,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.18852,
    "h": 284.9
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#472AA9
secondary
#AFC36C
accent
#E344BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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