#472E9A#472E9A

#472E9A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.166 H 287.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#472E9A
RGBrgb(71, 46, 154)
HSLhsl(254, 54%, 39%)
HSVhsv(254, 70%, 60%)
CMYKcmyk(53.9%, 70.1%, 0%, 39.6%)
CIE-LABlab(28.45, 39.69, -55.16)
CIE-LCHlch(28.45, 67.95, 305.74°)
OKLaboklab(40.04% 0.0484 -0.1585)
OKLCHoklch(40.04% 0.166 287)
XYZxyz(9.4065, 5.6262, 31.1559)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E9A #819A2E
analogous
#2E4B9A #472E9A #7D2E9A
triadic
#472E9A #9A472E #2E9A47
tetradic
#472E9A #9A2E4B #819A2E #2E9A7D
square
#472E9A #9A2E4B #819A2E #2E9A7D
split-complementary
#472E9A #9A7D2E #4B9A2E
monochromatic
#1C123C #31206B #472E9A #5F3FC6 #866FD4

Accessibility & contrast

On white

9.88
#472E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#472E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E9A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E9A#FFFFFF#000000##FFFFFF
##472E9A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#264A60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472e9a;
/* rgb */ color: rgb(71, 46, 154);
/* oklch */ color: oklch(40.0% 0.166 287.0);
Tailwind
colors: {
  custom: {
    50: '#8369b9',
    500: '#472e9a',
    950: '#000000',
  },
}
SCSS
$custom: #472e9a;
$custom-light: #8369b9;
$custom-dark: #000000;
JSON
{
  "hex": "#472e9a",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 253.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.16569,
    "h": 287
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#472E9A
secondary
#A8BB69
accent
#DD4ABB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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