#472E8A#472E8A

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

Color values

HEX#472E8A
RGBrgb(71, 46, 138)
HSLhsl(256, 50%, 36%)
HSVhsv(256, 67%, 54%)
CMYKcmyk(48.6%, 66.7%, 0%, 45.9%)
CIE-LABlab(27.10, 34.83, -47.51)
CIE-LCHlch(27.10, 58.90, 306.24°)
OKLaboklab(38.65% 0.0508 -0.136)
OKLCHoklch(38.65% 0.145 290.5)
XYZxyz(8.1617, 5.1283, 24.5996)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E8A #718A2E
analogous
#2E438A #472E8A #752E8A
triadic
#472E8A #8A472E #2E8A47
tetradic
#472E8A #8A2E43 #718A2E #2E8A75
square
#472E8A #8A2E43 #718A2E #2E8A75
split-complementary
#472E8A #8A752E #438A2E
monochromatic
#180F2E #2F1F5C #472E8A #5F3DB8 #8266CC

Accessibility & contrast

On white

10.37
#472E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#472E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E8A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E8A#FFFFFF#000000##FFFFFF
##472E8A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472e8a;
/* rgb */ color: rgb(71, 46, 138);
/* oklch */ color: oklch(38.7% 0.145 290.5);
Tailwind
colors: {
  custom: {
    50: '#8068ad',
    500: '#472e8a',
    950: '#000000',
  },
}
SCSS
$custom: #472e8a;
$custom-light: #8068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#472e8a",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 256.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.14515,
    "h": 290.5
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#472E8A
secondary
#9DB361
accent
#DA4EB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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