#472C8E#472C8E

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

Color values

HEX#472C8E
RGBrgb(71, 44, 142)
HSLhsl(257, 53%, 36%)
HSVhsv(257, 69%, 56%)
CMYKcmyk(50%, 69%, 0%, 44.3%)
CIE-LABlab(27.00, 37.20, -50.14)
CIE-LCHlch(27.00, 62.44, 306.57°)
OKLaboklab(38.69% 0.0523 -0.1437)
OKLCHoklch(38.69% 0.153 290)
XYZxyz(8.3803, 5.0936, 26.1275)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C8E #738E2C
analogous
#2C428E #472C8E #782C8E
triadic
#472C8E #8E472C #2C8E47
tetradic
#472C8E #8E2C42 #738E2C #2C8E78
square
#472C8E #8E2C42 #738E2C #2C8E78
split-complementary
#472C8E #8E782C #428E2C
monochromatic
#180F31 #301E5F #472C8E #5E3ABD #8265CF

Accessibility & contrast

On white

10.40
#472C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472C8E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C8E#FFFFFF#000000##FFFFFF
##472C8E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#2F4459
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472c8e;
/* rgb */ color: rgb(71, 44, 142);
/* oklch */ color: oklch(38.7% 0.153 290.0);
Tailwind
colors: {
  custom: {
    50: '#8167b0',
    500: '#472c8e',
    950: '#000000',
  },
}
SCSS
$custom: #472c8e;
$custom-light: #8167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#472c8e",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 256.531,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38685,
    "c": 0.15298,
    "h": 290
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#472C8E
secondary
#9EB660
accent
#DC4CB4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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