#472C8D#472C8D

#472C8D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.152 H 290.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#472C8D
RGBrgb(71, 44, 141)
HSLhsl(257, 52%, 36%)
HSVhsv(257, 69%, 55%)
CMYKcmyk(49.6%, 68.8%, 0%, 44.7%)
CIE-LABlab(26.92, 36.90, -49.66)
CIE-LCHlch(26.92, 61.87, 306.61°)
OKLaboklab(38.6% 0.0525 -0.1423)
OKLCHoklch(38.6% 0.152 290.2)
XYZxyz(8.3056, 5.0637, 25.7339)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C8D #728D2C
analogous
#2C428D #472C8D #782C8D
triadic
#472C8D #8D472C #2C8D47
tetradic
#472C8D #8D2C42 #728D2C #2C8D78
square
#472C8D #8D2C42 #728D2C #2C8D78
split-complementary
#472C8D #8D782C #428D2C
monochromatic
#180F30 #301D5E #472C8D #5E3BBC #8265CF

Accessibility & contrast

On white

10.43
#472C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#472C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C8D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C8D#FFFFFF#000000##FFFFFF
##472C8D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#304458
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472c8d;
/* rgb */ color: rgb(71, 44, 141);
/* oklch */ color: oklch(38.6% 0.152 290.2);
Tailwind
colors: {
  custom: {
    50: '#8167af',
    500: '#472c8d',
    950: '#000000',
  },
}
SCSS
$custom: #472c8d;
$custom-light: #8167af;
$custom-dark: #000000;
JSON
{
  "hex": "#472c8d",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 256.701,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38598,
    "c": 0.1517,
    "h": 290.2
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#472C8D
secondary
#9DB560
accent
#DC4CB4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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