#472BAE#472BAE

#472BAE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.193 H 283.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#472BAE
RGBrgb(71, 43, 174)
HSLhsl(253, 60%, 43%)
HSVhsv(253, 75%, 68%)
CMYKcmyk(59.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(29.72, 47.33, -65.16)
CIE-LCHlch(29.72, 80.54, 305.99°)
OKLaboklab(41.51% 0.0465 -0.1878)
OKLCHoklch(41.51% 0.193 283.9)
XYZxyz(11.1000, 6.1226, 40.6331)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BAE #92AE2B
analogous
#2B51AE #472BAE #882BAE
triadic
#472BAE #AE472B #2BAE47
tetradic
#472BAE #AE2B51 #92AE2B #2BAE88
square
#472BAE #AE2B51 #92AE2B #2BAE88
split-complementary
#472BAE #AE882B #51AE2B
monochromatic
#1F134C #331F7D #472BAE #6345D1 #8C76DD

Accessibility & contrast

On white

9.44
#472BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#472BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BAE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BAE#FFFFFF#000000##FFFFFF
##472BAE1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#05506B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472bae;
/* rgb */ color: rgb(71, 43, 174);
/* oklch */ color: oklch(41.5% 0.193 283.9);
Tailwind
colors: {
  custom: {
    50: '#8668c7',
    500: '#472bae',
    950: '#000000',
  },
}
SCSS
$custom: #472bae;
$custom-light: #8668c7;
$custom-dark: #000000;
JSON
{
  "hex": "#472bae",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 252.824,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41511,
    "c": 0.19344,
    "h": 283.9
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#472BAE
secondary
#B3C570
accent
#E444C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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