#472A8D#472A8D

#472A8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.154 H 290.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#472A8D
RGBrgb(71, 42, 141)
HSLhsl(258, 54%, 36%)
HSVhsv(258, 70%, 55%)
CMYKcmyk(49.6%, 70.2%, 0%, 44.7%)
CIE-LABlab(26.50, 38.04, -50.34)
CIE-LCHlch(26.50, 63.09, 307.07°)
OKLaboklab(38.3% 0.0546 -0.1443)
OKLCHoklch(38.3% 0.154 290.7)
XYZxyz(8.2329, 4.9183, 25.7097)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A8D #708D2A
analogous
#2A3E8D #472A8D #782A8D
triadic
#472A8D #8D472A #2A8D47
tetradic
#472A8D #8D2A3E #708D2A #2A8D78
square
#472A8D #8D2A3E #708D2A #2A8D78
split-complementary
#472A8D #8D782A #3E8D2A
monochromatic
#180E2F #2F1C5E #472A8D #5F38BC #8261D0

Accessibility & contrast

On white

10.59
#472A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472A8D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A8D#FFFFFF#000000##FFFFFF
##472A8D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#304358
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472a8d;
/* rgb */ color: rgb(71, 42, 141);
/* oklch */ color: oklch(38.3% 0.154 290.7);
Tailwind
colors: {
  custom: {
    50: '#8166af',
    500: '#472a8d',
    950: '#000000',
  },
}
SCSS
$custom: #472a8d;
$custom-light: #8166af;
$custom-dark: #000000;
JSON
{
  "hex": "#472a8d",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 257.576,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.383,
    "c": 0.15428,
    "h": 290.7
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#472A8D
secondary
#9CB65D
accent
#DD4AB2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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