#472AAE#472AAE

#472AAE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.194 H 284.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#472AAE
RGBrgb(71, 42, 174)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 76%, 68%)
CMYKcmyk(59.2%, 75.9%, 0%, 31.8%)
CIE-LABlab(29.54, 47.84, -65.46)
CIE-LCHlch(29.54, 81.08, 306.16°)
OKLaboklab(41.39% 0.0472 -0.1886)
OKLCHoklch(41.39% 0.194 284)
XYZxyz(11.0641, 6.0508, 40.6211)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AAE #91AE2A
analogous
#2A4FAE #472AAE #892AAE
triadic
#472AAE #AE472A #2AAE47
tetradic
#472AAE #AE2A4F #91AE2A #2AAE89
square
#472AAE #AE2A4F #91AE2A #2AAE89
split-complementary
#472AAE #AE892A #4FAE2A
monochromatic
#1F124B #331E7D #472AAE #6343D2 #8C75DE

Accessibility & contrast

On white

9.50
#472AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#472AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AAE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AAE#FFFFFF#000000##FFFFFF
##472AAE1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#054F6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472aae;
/* rgb */ color: rgb(71, 42, 174);
/* oklch */ color: oklch(41.4% 0.194 284.0);
Tailwind
colors: {
  custom: {
    50: '#8667c7',
    500: '#472aae',
    950: '#000000',
  },
}
SCSS
$custom: #472aae;
$custom-light: #8667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#472aae",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 253.182,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.19444,
    "h": 284
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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