#472E9D#472E9D

#472E9D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.169 H 286.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#472E9D
RGBrgb(71, 46, 157)
HSLhsl(254, 55%, 40%)
HSVhsv(254, 71%, 62%)
CMYKcmyk(54.8%, 70.7%, 0%, 38.4%)
CIE-LABlab(28.71, 40.60, -56.55)
CIE-LCHlch(28.71, 69.62, 305.68°)
OKLaboklab(40.32% 0.0478 -0.1626)
OKLCHoklch(40.32% 0.169 286.4)
XYZxyz(9.6595, 5.7274, 32.4883)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E9D #849D2E
analogous
#2E4C9D #472E9D #7F2E9D
triadic
#472E9D #9D472E #2E9D47
tetradic
#472E9D #9D2E4C #849D2E #2E9D7F
square
#472E9D #9D2E4C #849D2E #2E9D7F
split-complementary
#472E9D #9D7F2E #4C9D2E
monochromatic
#1C123E #32206E #472E9D #5F41C7 #8770D5

Accessibility & contrast

On white

9.79
#472E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#472E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E9D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E9D#FFFFFF#000000##FFFFFF
##472E9D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#234B62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472e9d;
/* rgb */ color: rgb(71, 46, 157);
/* oklch */ color: oklch(40.3% 0.169 286.4);
Tailwind
colors: {
  custom: {
    50: '#8369bb',
    500: '#472e9d',
    950: '#000000',
  },
}
SCSS
$custom: #472e9d;
$custom-light: #8369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#472e9d",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 253.514,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.16945,
    "h": 286.4
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#472E9D
secondary
#AABD6A
accent
#DE4ABD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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