#472F86#472F86

#472F86 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.139 H 291.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#472F86
RGBrgb(71, 47, 134)
HSLhsl(257, 48%, 35%)
HSVhsv(257, 65%, 53%)
CMYKcmyk(47%, 64.9%, 0%, 47.5%)
CIE-LABlab(27.00, 33.02, -45.17)
CIE-LCHlch(27.00, 55.95, 306.16°)
OKLaboklab(38.48% 0.0501 -0.1291)
OKLCHoklch(38.48% 0.139 291.2)
XYZxyz(7.9169, 5.0936, 23.1157)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F86 #6E862F
analogous
#2F4286 #472F86 #722F86
triadic
#472F86 #86472F #2F8647
tetradic
#472F86 #862F42 #6E862F #2F8672
square
#472F86 #862F42 #6E862F #2F8672
split-complementary
#472F86 #86722F #42862F
monochromatic
#170F2B #2F1F59 #472F86 #5F3FB3 #8166C9

Accessibility & contrast

On white

10.40
#472F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#472F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472F86
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F86#FFFFFF#000000##FFFFFF
##472F861.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#344356
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472f86;
/* rgb */ color: rgb(71, 47, 134);
/* oklch */ color: oklch(38.5% 0.139 291.2);
Tailwind
colors: {
  custom: {
    50: '#8069aa',
    500: '#472f86',
    950: '#000000',
  },
}
SCSS
$custom: #472f86;
$custom-light: #8069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472f86",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 256.552,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.1385,
    "h": 291.2
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#472F86
secondary
#9AB060
accent
#D850B2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472F86

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

Preview Lab → · Contrast checker → · Palette generator →

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