#472FA6#472FA6

#472FA6 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.179 H 284.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#472FA6
RGBrgb(71, 47, 166)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.2%, 71.7%, 0%, 34.9%)
CIE-LABlab(29.73, 42.79, -60.35)
CIE-LCHlch(29.73, 73.98, 305.34°)
OKLaboklab(41.29% 0.0452 -0.1737)
OKLCHoklch(41.29% 0.179 284.6)
XYZxyz(10.4959, 6.1252, 36.6982)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA6 #8EA62F
analogous
#2F53A6 #472FA6 #832FA6
triadic
#472FA6 #A6472F #2FA647
tetradic
#472FA6 #A62F53 #8EA62F #2FA683
square
#472FA6 #A62F53 #8EA62F #2FA683
split-complementary
#472FA6 #A6832F #53A62F
monochromatic
#1E1447 #332176 #472FA6 #6247CB #8B77D8

Accessibility & contrast

On white

9.44
#472FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#472FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FA6
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA6#FFFFFF#000000##FFFFFF
##472FA61.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#174F67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472fa6;
/* rgb */ color: rgb(71, 47, 166);
/* oklch */ color: oklch(41.3% 0.179 284.6);
Tailwind
colors: {
  custom: {
    50: '#856ac1',
    500: '#472fa6',
    950: '#000000',
  },
}
SCSS
$custom: #472fa6;
$custom-light: #856ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa6",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 252.101,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.17948,
    "h": 284.6
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#472FA6
secondary
#B0C170
accent
#DF49C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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