#472FAA#472FAA

#472FAA is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.184 H 283.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#472FAA
RGBrgb(71, 47, 170)
HSLhsl(252, 57%, 43%)
HSVhsv(252, 72%, 67%)
CMYKcmyk(58.2%, 72.4%, 0%, 33.3%)
CIE-LABlab(30.09, 44.01, -62.15)
CIE-LCHlch(30.09, 76.15, 305.30°)
OKLaboklab(41.66% 0.0444 -0.179)
OKLCHoklch(41.66% 0.184 283.9)
XYZxyz(10.8685, 6.2742, 38.6608)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FAA #92AA2F
analogous
#2F55AA #472FAA #842FAA
triadic
#472FAA #AA472F #2FAA47
tetradic
#472FAA #AA2F55 #92AA2F #2FAA84
square
#472FAA #AA2F55 #92AA2F #2FAA84
split-complementary
#472FAA #AA842F #55AA2F
monochromatic
#1F144A #33227A #472FAA #6349CD #8C79DA

Accessibility & contrast

On white

9.31
#472FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#472FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FAA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FAA#FFFFFF#000000##FFFFFF
##472FAA1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#105069
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472faa;
/* rgb */ color: rgb(71, 47, 170);
/* oklch */ color: oklch(41.7% 0.184 283.9);
Tailwind
colors: {
  custom: {
    50: '#856ac4',
    500: '#472faa',
    950: '#000000',
  },
}
SCSS
$custom: #472faa;
$custom-light: #856ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#472faa",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 251.707,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4166,
    "c": 0.1844,
    "h": 283.9
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#472FAA
secondary
#B3C272
accent
#E048C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #472FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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