#472EA3#472EA3

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

Color values

HEX#472EA3
RGBrgb(71, 46, 163)
HSLhsl(253, 56%, 41%)
HSVhsv(253, 72%, 64%)
CMYKcmyk(56.4%, 71.8%, 0%, 36.1%)
CIE-LABlab(29.25, 42.43, -59.31)
CIE-LCHlch(29.25, 72.92, 305.58°)
OKLaboklab(40.87% 0.0467 -0.1706)
OKLCHoklch(40.87% 0.177 285.3)
XYZxyz(10.1844, 5.9373, 35.2526)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA3 #8AA32E
analogous
#2E4FA3 #472EA3 #812EA3
triadic
#472EA3 #A3472E #2EA347
tetradic
#472EA3 #A32E4F #8AA32E #2EA381
square
#472EA3 #A32E4F #8AA32E #2EA381
split-complementary
#472EA3 #A3812E #4FA32E
monochromatic
#1D1344 #322173 #472EA3 #6144CA #8974D8

Accessibility & contrast

On white

9.60
#472EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#472EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EA3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA3#FFFFFF#000000##FFFFFF
##472EA31.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#1C4D65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472ea3;
/* rgb */ color: rgb(71, 46, 163);
/* oklch */ color: oklch(40.9% 0.177 285.3);
Tailwind
colors: {
  custom: {
    50: '#8469bf',
    500: '#472ea3',
    950: '#000000',
  },
}
SCSS
$custom: #472ea3;
$custom-light: #8469bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea3",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 252.821,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.17691,
    "h": 285.3
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#472EA3
secondary
#AEBF6D
accent
#DF49BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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