#472D8B#472D8B

#472D8B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.148 H 290.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#472D8B
RGBrgb(71, 45, 139)
HSLhsl(257, 51%, 36%)
HSVhsv(257, 68%, 55%)
CMYKcmyk(48.9%, 67.6%, 0%, 45.5%)
CIE-LABlab(26.96, 35.72, -48.35)
CIE-LCHlch(26.96, 60.11, 306.45°)
OKLaboklab(38.58% 0.0517 -0.1385)
OKLCHoklch(38.58% 0.148 290.5)
XYZxyz(8.1958, 5.0801, 24.9698)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D8B #718B2D
analogous
#2D428B #472D8B #762D8B
triadic
#472D8B #8B472D #2D8B47
tetradic
#472D8B #8B2D42 #718B2D #2D8B76
square
#472D8B #8B2D42 #718B2D #2D8B76
split-complementary
#472D8B #8B762D #428B2D
monochromatic
#180F2F #2F1E5D #472D8B #5F3CB9 #8265CD

Accessibility & contrast

On white

10.42
#472D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472D8B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D8B#FFFFFF#000000##FFFFFF
##472D8B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#314458
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472d8b;
/* rgb */ color: rgb(71, 45, 139);
/* oklch */ color: oklch(38.6% 0.148 290.5);
Tailwind
colors: {
  custom: {
    50: '#8168ae',
    500: '#472d8b',
    950: '#000000',
  },
}
SCSS
$custom: #472d8b;
$custom-light: #8168ae;
$custom-dark: #000000;
JSON
{
  "hex": "#472d8b",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 256.596,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.14781,
    "h": 290.5
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#472D8B
secondary
#9DB460
accent
#DB4DB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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