#472FA4#472FA4

#472FA4 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.177 H 284.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#472FA4
RGBrgb(71, 47, 164)
HSLhsl(252, 55%, 41%)
HSVhsv(252, 71%, 64%)
CMYKcmyk(56.7%, 71.3%, 0%, 35.7%)
CIE-LABlab(29.54, 42.18, -59.44)
CIE-LCHlch(29.54, 72.88, 305.36°)
OKLaboklab(41.1% 0.0456 -0.171)
OKLCHoklch(41.1% 0.177 284.9)
XYZxyz(10.3139, 6.0524, 35.7395)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA4 #8CA42F
analogous
#2F52A4 #472FA4 #822FA4
triadic
#472FA4 #A4472F #2FA447
tetradic
#472FA4 #A42F52 #8CA42F #2FA482
square
#472FA4 #A42F52 #8CA42F #2FA482
split-complementary
#472FA4 #A4822F #52A42F
monochromatic
#1E1445 #322174 #472FA4 #6146CA #8A76D8

Accessibility & contrast

On white

9.50
#472FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#472FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FA4
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA4#FFFFFF#000000##FFFFFF
##472FA41.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#1A4E66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472fa4;
/* rgb */ color: rgb(71, 47, 164);
/* oklch */ color: oklch(41.1% 0.177 284.9);
Tailwind
colors: {
  custom: {
    50: '#846ac0',
    500: '#472fa4',
    950: '#000000',
  },
}
SCSS
$custom: #472fa4;
$custom-light: #846ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa4",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 252.308,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.17701,
    "h": 284.9
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#472FA4
secondary
#AFC06F
accent
#DF49C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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