#472D84#472D84

#472D84 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.139 H 292.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#472D84
RGBrgb(71, 45, 132)
HSLhsl(258, 49%, 35%)
HSVhsv(258, 66%, 52%)
CMYKcmyk(46.2%, 65.9%, 0%, 48.2%)
CIE-LABlab(26.40, 33.61, -44.90)
CIE-LCHlch(26.40, 56.09, 306.82°)
OKLaboklab(37.99% 0.0526 -0.1283)
OKLCHoklch(37.99% 0.139 292.3)
XYZxyz(7.7006, 4.8821, 22.3619)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D84 #6A842D
analogous
#2D3F84 #472D84 #732D84
triadic
#472D84 #84472D #2D8447
tetradic
#472D84 #842D3F #6A842D #2D8473
square
#472D84 #842D3F #6A842D #2D8473
split-complementary
#472D84 #84732D #3F842D
monochromatic
#160E29 #2E1D56 #472D84 #603DB2 #8162C9

Accessibility & contrast

On white

10.63
#472D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#472D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D84
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D84#FFFFFF#000000##FFFFFF
##472D841.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#354154
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472d84;
/* rgb */ color: rgb(71, 45, 132);
/* oklch */ color: oklch(38.0% 0.139 292.3);
Tailwind
colors: {
  custom: {
    50: '#8067a8',
    500: '#472d84',
    950: '#000000',
  },
}
SCSS
$custom: #472d84;
$custom-light: #8067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#472d84",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 257.931,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37993,
    "c": 0.13868,
    "h": 292.3
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#472D84
secondary
#97B05D
accent
#D94FB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472D84

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

Preview Lab → · Contrast checker → · Palette generator →

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