#472D8A#472D8A

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

Color values

HEX#472D8A
RGBrgb(71, 45, 138)
HSLhsl(257, 51%, 36%)
HSVhsv(257, 67%, 54%)
CMYKcmyk(48.6%, 67.4%, 0%, 45.9%)
CIE-LABlab(26.88, 35.42, -47.86)
CIE-LCHlch(26.88, 59.54, 306.50°)
OKLaboklab(38.49% 0.0519 -0.137)
OKLCHoklch(38.49% 0.147 290.7)
XYZxyz(8.1231, 5.0510, 24.5868)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D8A #708A2D
analogous
#2D418A #472D8A #752D8A
triadic
#472D8A #8A472D #2D8A47
tetradic
#472D8A #8A2D41 #708A2D #2D8A75
square
#472D8A #8A2D41 #708A2D #2D8A75
split-complementary
#472D8A #8A752D #418A2D
monochromatic
#180F2E #2F1E5C #472D8A #5F3CB8 #8265CD

Accessibility & contrast

On white

10.45
#472D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472D8A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D8A#FFFFFF#000000##FFFFFF
##472D8A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#324457
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472d8a;
/* rgb */ color: rgb(71, 45, 138);
/* oklch */ color: oklch(38.5% 0.147 290.7);
Tailwind
colors: {
  custom: {
    50: '#8068ad',
    500: '#472d8a',
    950: '#000000',
  },
}
SCSS
$custom: #472d8a;
$custom-light: #8068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#472d8a",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 256.774,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.14651,
    "h": 290.7
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#472D8A
secondary
#9CB360
accent
#DA4DB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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