#472FA7#472FA7

#472FA7 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.181 H 284.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#472FA7
RGBrgb(71, 47, 167)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.5%, 71.9%, 0%, 34.5%)
CIE-LABlab(29.82, 43.09, -60.80)
CIE-LCHlch(29.82, 74.52, 305.33°)
OKLaboklab(41.38% 0.045 -0.175)
OKLCHoklch(41.38% 0.181 284.4)
XYZxyz(10.5880, 6.1620, 37.1832)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA7 #8FA72F
analogous
#2F53A7 #472FA7 #832FA7
triadic
#472FA7 #A7472F #2FA747
tetradic
#472FA7 #A72F53 #8FA72F #2FA783
square
#472FA7 #A72F53 #8FA72F #2FA783
split-complementary
#472FA7 #A7832F #53A72F
monochromatic
#1E1447 #332277 #472FA7 #6248CB #8B78D9

Accessibility & contrast

On white

9.41
#472FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472FA7
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA7#FFFFFF#000000##FFFFFF
##472FA71.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#164F68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472fa7;
/* rgb */ color: rgb(71, 47, 167);
/* oklch */ color: oklch(41.4% 0.181 284.4);
Tailwind
colors: {
  custom: {
    50: '#856ac2',
    500: '#472fa7',
    950: '#000000',
  },
}
SCSS
$custom: #472fa7;
$custom-light: #856ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa7",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 252,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.18071,
    "h": 284.4
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#472FA7
secondary
#B1C171
accent
#DF48C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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