#472DA4#472DA4

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

Color values

HEX#472DA4
RGBrgb(71, 45, 164)
HSLhsl(253, 57%, 41%)
HSVhsv(253, 73%, 64%)
CMYKcmyk(56.7%, 72.6%, 0%, 35.7%)
CIE-LABlab(29.15, 43.28, -60.09)
CIE-LCHlch(29.15, 74.05, 305.76°)
OKLaboklab(40.82% 0.0473 -0.1729)
OKLCHoklch(40.82% 0.179 285.3)
XYZxyz(10.2357, 5.8961, 35.7135)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DA4 #8AA42D
analogous
#2D4EA4 #472DA4 #822DA4
triadic
#472DA4 #A4472D #2DA447
tetradic
#472DA4 #A42D4E #8AA42D #2DA482
square
#472DA4 #A42D4E #8AA42D #2DA482
split-complementary
#472DA4 #A4822D #4EA42D
monochromatic
#1D1344 #322074 #472DA4 #6143CB #8973D9

Accessibility & contrast

On white

9.64
#472DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472DA4
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DA4#FFFFFF#000000##FFFFFF
##472DA41.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#1B4D65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472da4;
/* rgb */ color: rgb(71, 45, 164);
/* oklch */ color: oklch(40.8% 0.179 285.3);
Tailwind
colors: {
  custom: {
    50: '#8469c0',
    500: '#472da4',
    950: '#000000',
  },
}
SCSS
$custom: #472da4;
$custom-light: #8469c0;
$custom-dark: #000000;
JSON
{
  "hex": "#472da4",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 253.109,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4082,
    "c": 0.17927,
    "h": 285.3
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#472DA4
secondary
#AEC06D
accent
#E048BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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