#472EB8#472EB8

#472EB8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 42.9% C 0.202 H 282.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#472EB8
RGBrgb(71, 46, 184)
HSLhsl(251, 60%, 45%)
HSVhsv(251, 75%, 72%)
CMYKcmyk(61.4%, 75%, 0%, 27.8%)
CIE-LABlab(31.24, 48.77, -68.62)
CIE-LCHlch(31.24, 84.19, 305.40°)
OKLaboklab(42.87% 0.0419 -0.1979)
OKLCHoklch(42.87% 0.202 282)
XYZxyz(12.2246, 6.7534, 45.9975)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EB8 #9FB82E
analogous
#2E5AB8 #472EB8 #8C2EB8
triadic
#472EB8 #B8472E #2EB847
tetradic
#472EB8 #B82E5A #9FB82E #2EB88C
square
#472EB8 #B82E5A #9FB82E #2EB88C
split-complementary
#472EB8 #B88C2E #5AB82E
monochromatic
#211656 #342287 #472EB8 #6850D3 #9281DF

Accessibility & contrast

On white

8.93
#472EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#472EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EB8
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EB8#FFFFFF#000000##FFFFFF
##472EB81.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472eb8;
/* rgb */ color: rgb(71, 46, 184);
/* oklch */ color: oklch(42.9% 0.202 282.0);
Tailwind
colors: {
  custom: {
    50: '#886acf',
    500: '#472eb8',
    950: '#000000',
  },
}
SCSS
$custom: #472eb8;
$custom-light: #886acf;
$custom-dark: #000000;
JSON
{
  "hex": "#472eb8",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 250.87,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.20229,
    "h": 282
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#472EB8
secondary
#BAC879
accent
#E345C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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