#472EA8#472EA8

#472EA8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.183 H 284.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#472EA8
RGBrgb(71, 46, 168)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 73%, 66%)
CMYKcmyk(57.7%, 72.6%, 0%, 34.1%)
CIE-LABlab(29.71, 43.94, -61.57)
CIE-LCHlch(29.71, 75.65, 305.51°)
OKLaboklab(41.33% 0.0456 -0.1773)
OKLCHoklch(41.33% 0.183 284.4)
XYZxyz(10.6413, 6.1201, 37.6588)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA8 #8FA82E
analogous
#2E52A8 #472EA8 #842EA8
triadic
#472EA8 #A8472E #2EA847
tetradic
#472EA8 #A82E52 #8FA82E #2EA884
square
#472EA8 #A82E52 #8FA82E #2EA884
split-complementary
#472EA8 #A8842E #52A82E
monochromatic
#1E1448 #332178 #472EA8 #6247CD #8B77DA

Accessibility & contrast

On white

9.44
#472EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#472EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EA8
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA8#FFFFFF#000000##FFFFFF
##472EA81.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#144F68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472ea8;
/* rgb */ color: rgb(71, 46, 168);
/* oklch */ color: oklch(41.3% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#8569c3',
    500: '#472ea8',
    950: '#000000',
  },
}
SCSS
$custom: #472ea8;
$custom-light: #8569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea8",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 252.295,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.18306,
    "h": 284.4
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#472EA8
secondary
#B1C270
accent
#E048C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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