#472B8A#472B8A

#472B8A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.149 H 291.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#472B8A
RGBrgb(71, 43, 138)
HSLhsl(258, 52%, 35%)
HSVhsv(258, 69%, 54%)
CMYKcmyk(48.6%, 68.8%, 0%, 45.9%)
CIE-LABlab(26.45, 36.58, -48.55)
CIE-LCHlch(26.45, 60.79, 306.99°)
OKLaboklab(38.19% 0.054 -0.1391)
OKLCHoklch(38.19% 0.149 291.2)
XYZxyz(8.0486, 4.9020, 24.5619)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B8A #6E8A2B
analogous
#2B3F8A #472B8A #762B8A
triadic
#472B8A #8A472B #2B8A47
tetradic
#472B8A #8A2B3F #6E8A2B #2B8A76
square
#472B8A #8A2B3F #6E8A2B #2B8A76
split-complementary
#472B8A #8A762B #3F8A2B
monochromatic
#170E2D #2F1C5B #472B8A #5F3AB9 #8161CE

Accessibility & contrast

On white

10.60
#472B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472B8A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B8A#FFFFFF#000000##FFFFFF
##472B8A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#324257
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472b8a;
/* rgb */ color: rgb(71, 43, 138);
/* oklch */ color: oklch(38.2% 0.149 291.2);
Tailwind
colors: {
  custom: {
    50: '#8166ad',
    500: '#472b8a',
    950: '#000000',
  },
}
SCSS
$custom: #472b8a;
$custom-light: #8166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#472b8a",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 257.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.14919,
    "h": 291.2
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#472B8A
secondary
#9AB45D
accent
#DC4CB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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