#472C87#472C87

#472C87 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.144 H 291.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#472C87
RGBrgb(71, 44, 135)
HSLhsl(258, 51%, 35%)
HSVhsv(258, 67%, 53%)
CMYKcmyk(47.4%, 67.4%, 0%, 47.1%)
CIE-LABlab(26.42, 35.10, -46.74)
CIE-LCHlch(26.42, 58.45, 306.90°)
OKLaboklab(38.09% 0.0533 -0.1337)
OKLCHoklch(38.09% 0.144 291.7)
XYZxyz(7.8712, 4.8900, 23.4461)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C87 #6C872C
analogous
#2C3F87 #472C87 #742C87
triadic
#472C87 #87472C #2C8747
tetradic
#472C87 #872C3F #6C872C #2C8774
square
#472C87 #872C3F #6C872C #2C8774
split-complementary
#472C87 #87742C #3F872C
monochromatic
#160E2B #2F1D59 #472C87 #5F3BB5 #8162CC

Accessibility & contrast

On white

10.62
#472C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#472C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C87
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C87#FFFFFF#000000##FFFFFF
##472C871.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#344255
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472c87;
/* rgb */ color: rgb(71, 44, 135);
/* oklch */ color: oklch(38.1% 0.144 291.7);
Tailwind
colors: {
  custom: {
    50: '#8067ab',
    500: '#472c87',
    950: '#000000',
  },
}
SCSS
$custom: #472c87;
$custom-light: #8067ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472c87",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 257.802,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.14398,
    "h": 291.7
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#472C87
secondary
#99B25D
accent
#DA4DB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472C87

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

Preview Lab → · Contrast checker → · Palette generator →

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