#472EA7#472EA7

#472EA7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.182 H 284.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#472EA7
RGBrgb(71, 46, 167)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.5%, 72.5%, 0%, 34.5%)
CIE-LABlab(29.62, 43.64, -61.12)
CIE-LCHlch(29.62, 75.10, 305.53°)
OKLaboklab(41.24% 0.0458 -0.176)
OKLCHoklch(41.24% 0.182 284.6)
XYZxyz(10.5485, 6.0830, 37.1700)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA7 #8EA72E
analogous
#2E51A7 #472EA7 #842EA7
triadic
#472EA7 #A7472E #2EA747
tetradic
#472EA7 #A72E51 #8EA72E #2EA784
square
#472EA7 #A72E51 #8EA72E #2EA784
split-complementary
#472EA7 #A7842E #51A72E
monochromatic
#1E1447 #332177 #472EA7 #6246CC #8B76D9

Accessibility & contrast

On white

9.47
#472EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472EA7
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA7#FFFFFF#000000##FFFFFF
##472EA71.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#164F67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472ea7;
/* rgb */ color: rgb(71, 46, 167);
/* oklch */ color: oklch(41.2% 0.182 284.6);
Tailwind
colors: {
  custom: {
    50: '#8569c2',
    500: '#472ea7',
    950: '#000000',
  },
}
SCSS
$custom: #472ea7;
$custom-light: #8569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea7",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 252.397,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.18183,
    "h": 284.6
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#472EA7
secondary
#B0C170
accent
#E048C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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