#472EA6#472EA6

#472EA6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.181 H 284.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#472EA6
RGBrgb(71, 46, 166)
HSLhsl(253, 57%, 42%)
HSVhsv(253, 72%, 65%)
CMYKcmyk(57.2%, 72.3%, 0%, 34.9%)
CIE-LABlab(29.53, 43.34, -60.67)
CIE-LCHlch(29.53, 74.56, 305.54°)
OKLaboklab(41.15% 0.046 -0.1746)
OKLCHoklch(41.15% 0.181 284.8)
XYZxyz(10.4564, 6.0461, 36.6850)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA6 #8DA62E
analogous
#2E51A6 #472EA6 #832EA6
triadic
#472EA6 #A6472E #2EA647
tetradic
#472EA6 #A62E51 #8DA62E #2EA683
square
#472EA6 #A62E51 #8DA62E #2EA683
split-complementary
#472EA6 #A6832E #51A62E
monochromatic
#1E1346 #332176 #472EA6 #6246CC #8A76D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##472EA6#FFFFFF#000000##FFFFFF
##472EA61.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)
#0049AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#174E67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472ea6;
/* rgb */ color: rgb(71, 46, 166);
/* oklch */ color: oklch(41.1% 0.181 284.8);
Tailwind
colors: {
  custom: {
    50: '#8569c1',
    500: '#472ea6',
    950: '#000000',
  },
}
SCSS
$custom: #472ea6;
$custom-light: #8569c1;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea6",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 252.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.18061,
    "h": 284.8
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#472EA6
secondary
#B0C16F
accent
#E048C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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