#472DA8#472DA8

#472DA8 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.184 H 284.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#472DA8
RGBrgb(71, 45, 168)
HSLhsl(253, 58%, 42%)
HSVhsv(253, 73%, 66%)
CMYKcmyk(57.7%, 73.2%, 0%, 34.1%)
CIE-LABlab(29.52, 44.48, -61.89)
CIE-LCHlch(29.52, 76.22, 305.71°)
OKLaboklab(41.2% 0.0464 -0.1782)
OKLCHoklch(41.2% 0.184 284.6)
XYZxyz(10.6026, 6.0429, 37.6459)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DA8 #8EA82D
analogous
#2D51A8 #472DA8 #852DA8
triadic
#472DA8 #A8472D #2DA847
tetradic
#472DA8 #A82D51 #8EA82D #2DA885
square
#472DA8 #A82D51 #8EA82D #2DA885
split-complementary
#472DA8 #A8852D #51A82D
monochromatic
#1E1347 #332078 #472DA8 #6245CD #8B75DA

Accessibility & contrast

On white

9.51
#472DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#472DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472DA8
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DA8#FFFFFF#000000##FFFFFF
##472DA81.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.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: #472da8;
/* rgb */ color: rgb(71, 45, 168);
/* oklch */ color: oklch(41.2% 0.184 284.6);
Tailwind
colors: {
  custom: {
    50: '#8569c3',
    500: '#472da8',
    950: '#000000',
  },
}
SCSS
$custom: #472da8;
$custom-light: #8569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#472da8",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 252.683,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.18415,
    "h": 284.6
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#472DA8
secondary
#B0C26F
accent
#E147C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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