#472FA9#472FA9

#472FA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.183 H 284.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#472FA9
RGBrgb(71, 47, 169)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 66%)
CMYKcmyk(58%, 72.2%, 0%, 33.7%)
CIE-LABlab(30.00, 43.70, -61.70)
CIE-LCHlch(30.00, 75.61, 305.31°)
OKLaboklab(41.57% 0.0446 -0.1777)
OKLCHoklch(41.57% 0.183 284.1)
XYZxyz(10.7743, 6.2365, 38.1645)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA9 #91A92F
analogous
#2F54A9 #472FA9 #842FA9
triadic
#472FA9 #A9472F #2FA947
tetradic
#472FA9 #A92F54 #91A92F #2FA984
square
#472FA9 #A92F54 #91A92F #2FA984
split-complementary
#472FA9 #A9842F #54A92F
monochromatic
#1F1449 #332279 #472FA9 #6349CC #8C79DA

Accessibility & contrast

On white

9.34
#472FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#472FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FA9
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA9#FFFFFF#000000##FFFFFF
##472FA91.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#125069
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472fa9;
/* rgb */ color: rgb(71, 47, 169);
/* oklch */ color: oklch(41.6% 0.183 284.1);
Tailwind
colors: {
  custom: {
    50: '#856ac4',
    500: '#472fa9',
    950: '#000000',
  },
}
SCSS
$custom: #472fa9;
$custom-light: #856ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa9",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 251.803,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.18317,
    "h": 284.1
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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