#472B8D#472B8D

#472B8D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.153 H 290.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#472B8D
RGBrgb(71, 43, 141)
HSLhsl(257, 53%, 36%)
HSVhsv(257, 70%, 55%)
CMYKcmyk(49.6%, 69.5%, 0%, 44.7%)
CIE-LABlab(26.71, 37.47, -50.00)
CIE-LCHlch(26.71, 62.48, 306.85°)
OKLaboklab(38.45% 0.0535 -0.1433)
OKLCHoklch(38.45% 0.153 290.5)
XYZxyz(8.2688, 4.9901, 25.7216)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B8D #718D2B
analogous
#2B408D #472B8D #782B8D
triadic
#472B8D #8D472B #2B8D47
tetradic
#472B8D #8D2B40 #718D2B #2B8D78
square
#472B8D #8D2B40 #718D2B #2B8D78
split-complementary
#472B8D #8D782B #408D2B
monochromatic
#180E2F #2F1D5E #472B8D #5F39BC #8263CF

Accessibility & contrast

On white

10.51
#472B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#472B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B8D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B8D#FFFFFF#000000##FFFFFF
##472B8D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#304358
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472b8d;
/* rgb */ color: rgb(71, 43, 141);
/* oklch */ color: oklch(38.4% 0.153 290.5);
Tailwind
colors: {
  custom: {
    50: '#8166af',
    500: '#472b8d',
    950: '#000000',
  },
}
SCSS
$custom: #472b8d;
$custom-light: #8166af;
$custom-dark: #000000;
JSON
{
  "hex": "#472b8d",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 257.143,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.153,
    "h": 290.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#472B8D
secondary
#9DB65E
accent
#DD4BB3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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