#472CA6#472CA6

#472CA6 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.183 H 285.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#472CA6
RGBrgb(71, 44, 166)
HSLhsl(253, 58%, 41%)
HSVhsv(253, 73%, 65%)
CMYKcmyk(57.2%, 73.5%, 0%, 34.9%)
CIE-LABlab(29.14, 44.42, -61.30)
CIE-LCHlch(29.14, 75.70, 305.93°)
OKLaboklab(40.87% 0.0477 -0.1765)
OKLCHoklch(40.87% 0.183 285.1)
XYZxyz(10.3801, 5.8935, 36.6596)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA6 #8BA62C
analogous
#2C4EA6 #472CA6 #842CA6
triadic
#472CA6 #A6472C #2CA647
tetradic
#472CA6 #A62C4E #8BA62C #2CA684
square
#472CA6 #A62C4E #8BA62C #2CA684
split-complementary
#472CA6 #A6842C #4EA62C
monochromatic
#1E1245 #321F76 #472CA6 #6142CD #8973DA

Accessibility & contrast

On white

9.64
#472CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#472CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CA6
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA6#FFFFFF#000000##FFFFFF
##472CA61.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#184D66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472ca6;
/* rgb */ color: rgb(71, 44, 166);
/* oklch */ color: oklch(40.9% 0.183 285.1);
Tailwind
colors: {
  custom: {
    50: '#8568c1',
    500: '#472ca6',
    950: '#000000',
  },
}
SCSS
$custom: #472ca6;
$custom-light: #8568c1;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca6",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 253.279,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.1828,
    "h": 285.1
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#472CA6
secondary
#AEC16D
accent
#E146BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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