#472DB8#472DB8

#472DB8 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.7% C 0.203 H 282.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#472DB8
RGBrgb(71, 45, 184)
HSLhsl(251, 61%, 45%)
HSVhsv(251, 76%, 72%)
CMYKcmyk(61.4%, 75.5%, 0%, 27.8%)
CIE-LABlab(31.06, 49.28, -68.92)
CIE-LCHlch(31.06, 84.73, 305.57°)
OKLaboklab(42.75% 0.0426 -0.1988)
OKLCHoklch(42.75% 0.203 282.1)
XYZxyz(12.1859, 6.6762, 45.9846)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DB8 #9EB82D
analogous
#2D58B8 #472DB8 #8D2DB8
triadic
#472DB8 #B8472D #2DB847
tetradic
#472DB8 #B82D58 #9EB82D #2DB88D
square
#472DB8 #B82D58 #9EB82D #2DB88D
split-complementary
#472DB8 #B88D2D #58B82D
monochromatic
#211556 #342187 #472DB8 #674ED4 #9280E0

Accessibility & contrast

On white

8.99
#472DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#472DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472DB8
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DB8#FFFFFF#000000##FFFFFF
##472DB81.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472db8;
/* rgb */ color: rgb(71, 45, 184);
/* oklch */ color: oklch(42.7% 0.203 282.1);
Tailwind
colors: {
  custom: {
    50: '#8869cf',
    500: '#472db8',
    950: '#000000',
  },
}
SCSS
$custom: #472db8;
$custom-light: #8869cf;
$custom-dark: #000000;
JSON
{
  "hex": "#472db8",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 251.223,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42747,
    "c": 0.20328,
    "h": 282.1
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#472DB8
secondary
#BAC978
accent
#E444C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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