#472EA0#472EA0

#472EA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.173 H 285.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#472EA0
RGBrgb(71, 46, 160)
HSLhsl(253, 55%, 40%)
HSVhsv(253, 71%, 63%)
CMYKcmyk(55.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(28.98, 41.51, -57.94)
CIE-LCHlch(28.98, 71.27, 305.62°)
OKLaboklab(40.59% 0.0473 -0.1666)
OKLCHoklch(40.59% 0.173 285.8)
XYZxyz(9.9188, 5.8311, 33.8538)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA0 #87A02E
analogous
#2E4EA0 #472EA0 #802EA0
triadic
#472EA0 #A0472E #2EA047
tetradic
#472EA0 #A02E4E #87A02E #2EA080
square
#472EA0 #A02E4E #87A02E #2EA080
split-complementary
#472EA0 #A0802E #4EA02E
monochromatic
#1D1341 #322070 #472EA0 #6042C9 #8872D6

Accessibility & contrast

On white

9.69
#472EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#472EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EA0
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA0#FFFFFF#000000##FFFFFF
##472EA01.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#204C63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ea0;
/* rgb */ color: rgb(71, 46, 160);
/* oklch */ color: oklch(40.6% 0.173 285.8);
Tailwind
colors: {
  custom: {
    50: '#8469bd',
    500: '#472ea0',
    950: '#000000',
  },
}
SCSS
$custom: #472ea0;
$custom-light: #8469bd;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea0",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 253.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.17319,
    "h": 285.8
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#472EA0
secondary
#ACBE6C
accent
#DF49BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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