#472EA2#472EA2

#472EA2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.176 H 285.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#472EA2
RGBrgb(71, 46, 162)
HSLhsl(253, 56%, 41%)
HSVhsv(253, 72%, 64%)
CMYKcmyk(56.2%, 71.6%, 0%, 36.5%)
CIE-LABlab(29.16, 42.12, -58.85)
CIE-LCHlch(29.16, 72.37, 305.59°)
OKLaboklab(40.77% 0.0469 -0.1693)
OKLCHoklch(40.77% 0.176 285.5)
XYZxyz(10.0951, 5.9016, 34.7826)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA2 #89A22E
analogous
#2E4FA2 #472EA2 #812EA2
triadic
#472EA2 #A2472E #2EA247
tetradic
#472EA2 #A22E4F #89A22E #2EA281
square
#472EA2 #A22E4F #89A22E #2EA281
split-complementary
#472EA2 #A2812E #4FA22E
monochromatic
#1D1343 #322072 #472EA2 #6043CA #8973D7

Accessibility & contrast

On white

9.63
#472EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472EA2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA2#FFFFFF#000000##FFFFFF
##472EA21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#1D4D65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472ea2;
/* rgb */ color: rgb(71, 46, 162);
/* oklch */ color: oklch(40.8% 0.176 285.5);
Tailwind
colors: {
  custom: {
    50: '#8469bf',
    500: '#472ea2',
    950: '#000000',
  },
}
SCSS
$custom: #472ea2;
$custom-light: #8469bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea2",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 252.931,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.17568,
    "h": 285.5
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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