#472F84#472F84

#472F84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.136 H 291.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#472F84
RGBrgb(71, 47, 132)
HSLhsl(257, 47%, 35%)
HSVhsv(257, 64%, 52%)
CMYKcmyk(46.2%, 64.4%, 0%, 48.2%)
CIE-LABlab(26.84, 32.41, -44.18)
CIE-LCHlch(26.84, 54.79, 306.27°)
OKLaboklab(38.32% 0.0502 -0.1262)
OKLCHoklch(38.32% 0.136 291.7)
XYZxyz(7.7788, 5.0383, 22.3880)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F84 #6C842F
analogous
#2F4284 #472F84 #712F84
triadic
#472F84 #84472F #2F8447
tetradic
#472F84 #842F42 #6C842F #2F8471
square
#472F84 #842F42 #6C842F #2F8471
split-complementary
#472F84 #84712F #42842F
monochromatic
#160F2A #2F1F57 #472F84 #5F3FB1 #8165C8

Accessibility & contrast

On white

10.46
#472F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#472F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472F84
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F84#FFFFFF#000000##FFFFFF
##472F841.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#354355
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472f84;
/* rgb */ color: rgb(71, 47, 132);
/* oklch */ color: oklch(38.3% 0.136 291.7);
Tailwind
colors: {
  custom: {
    50: '#7f69a8',
    500: '#472f84',
    950: '#000000',
  },
}
SCSS
$custom: #472f84;
$custom-light: #7f69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#472f84",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 256.941,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.13583,
    "h": 291.7
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#472F84
secondary
#99AF60
accent
#D751B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472F84

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

Preview Lab → · Contrast checker → · Palette generator →

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