#472AA0#472AA0

#472AA0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.178 H 286.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#472AA0
RGBrgb(71, 42, 160)
HSLhsl(255, 58%, 40%)
HSVhsv(255, 74%, 63%)
CMYKcmyk(55.6%, 73.8%, 0%, 37.3%)
CIE-LABlab(28.20, 43.69, -59.21)
CIE-LCHlch(28.20, 73.59, 306.42°)
OKLaboklab(40.03% 0.0507 -0.1703)
OKLCHoklch(40.03% 0.178 286.6)
XYZxyz(9.7698, 5.5331, 33.8041)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AA0 #83A02A
analogous
#2A48A0 #472AA0 #822AA0
triadic
#472AA0 #A0472A #2AA047
tetradic
#472AA0 #A02A48 #83A02A #2AA082
square
#472AA0 #A02A48 #83A02A #2AA082
split-complementary
#472AA0 #A0822A #48A02A
monochromatic
#1C113F #311D70 #472AA0 #5F3CCC #876CD8

Accessibility & contrast

On white

9.97
#472AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#472AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AA0
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AA0#FFFFFF#000000##FFFFFF
##472AA01.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#204A62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472aa0;
/* rgb */ color: rgb(71, 42, 160);
/* oklch */ color: oklch(40.0% 0.178 286.6);
Tailwind
colors: {
  custom: {
    50: '#8467bd',
    500: '#472aa0',
    950: '#000000',
  },
}
SCSS
$custom: #472aa0;
$custom-light: #8467bd;
$custom-dark: #000000;
JSON
{
  "hex": "#472aa0",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 254.746,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40035,
    "c": 0.17772,
    "h": 286.6
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#472AA0
secondary
#A9BF67
accent
#E246BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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