#472B9F#472B9F

#472B9F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.175 H 286.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#472B9F
RGBrgb(71, 43, 159)
HSLhsl(254, 57%, 40%)
HSVhsv(254, 73%, 62%)
CMYKcmyk(55.3%, 73%, 0%, 37.6%)
CIE-LABlab(28.30, 42.86, -58.45)
CIE-LCHlch(28.30, 72.47, 306.25°)
OKLaboklab(40.08% 0.0501 -0.1681)
OKLCHoklch(40.08% 0.175 286.6)
XYZxyz(9.7185, 5.5700, 33.3572)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B9F #839F2B
analogous
#2B499F #472B9F #812B9F
triadic
#472B9F #9F472B #2B9F47
tetradic
#472B9F #9F2B49 #839F2B #2B9F81
square
#472B9F #9F2B49 #839F2B #2B9F81
split-complementary
#472B9F #9F812B #499F2B
monochromatic
#1C113F #311E6F #472B9F #5F3DCA #876DD7

Accessibility & contrast

On white

9.93
#472B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#472B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B9F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B9F#FFFFFF#000000##FFFFFF
##472B9F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#214A62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472b9f;
/* rgb */ color: rgb(71, 43, 159);
/* oklch */ color: oklch(40.1% 0.175 286.6);
Tailwind
colors: {
  custom: {
    50: '#8467bc',
    500: '#472b9f',
    950: '#000000',
  },
}
SCSS
$custom: #472b9f;
$custom-light: #8467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#472b9f",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 254.483,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40077,
    "c": 0.17539,
    "h": 286.6
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#472B9F
secondary
#A9BE67
accent
#E147BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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