#472EA5#472EA5

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

Color values

HEX#472EA5
RGBrgb(71, 46, 165)
HSLhsl(253, 56%, 41%)
HSVhsv(253, 72%, 65%)
CMYKcmyk(57%, 72.1%, 0%, 35.3%)
CIE-LABlab(29.44, 43.03, -60.22)
CIE-LCHlch(29.44, 74.01, 305.55°)
OKLaboklab(41.05% 0.0463 -0.1733)
OKLCHoklch(41.05% 0.179 284.9)
XYZxyz(10.3650, 6.0096, 36.2038)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA5 #8CA52E
analogous
#2E51A5 #472EA5 #832EA5
triadic
#472EA5 #A5472E #2EA547
tetradic
#472EA5 #A52E51 #8CA52E #2EA583
square
#472EA5 #A52E51 #8CA52E #2EA583
split-complementary
#472EA5 #A5832E #51A52E
monochromatic
#1E1345 #322175 #472EA5 #6145CB #8A75D8

Accessibility & contrast

On white

9.54
#472EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#472EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EA5
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA5#FFFFFF#000000##FFFFFF
##472EA51.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#194E66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472ea5;
/* rgb */ color: rgb(71, 46, 165);
/* oklch */ color: oklch(41.1% 0.179 284.9);
Tailwind
colors: {
  custom: {
    50: '#8569c1',
    500: '#472ea5',
    950: '#000000',
  },
}
SCSS
$custom: #472ea5;
$custom-light: #8569c1;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea5",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 252.605,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.17938,
    "h": 284.9
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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