#472A88#472A88

#472A88 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.148 H 292.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#472A88
RGBrgb(71, 42, 136)
HSLhsl(259, 53%, 35%)
HSVhsv(259, 69%, 53%)
CMYKcmyk(47.8%, 69.1%, 0%, 46.7%)
CIE-LABlab(26.08, 36.55, -47.92)
CIE-LCHlch(26.08, 60.27, 307.34°)
OKLaboklab(37.87% 0.0554 -0.1372)
OKLCHoklch(37.87% 0.148 292)
XYZxyz(7.8692, 4.7728, 23.7944)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A88 #6B882A
analogous
#2A3C88 #472A88 #762A88
triadic
#472A88 #88472A #2A8847
tetradic
#472A88 #882A3C #6B882A #2A8876
square
#472A88 #882A3C #6B882A #2A8876
split-complementary
#472A88 #88762A #3C882A
monochromatic
#160D2A #2F1C59 #472A88 #5F38B7 #815FCE

Accessibility & contrast

On white

10.74
#472A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#472A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A88
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A88#FFFFFF#000000##FFFFFF
##472A881.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#334155
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472a88;
/* rgb */ color: rgb(71, 42, 136);
/* oklch */ color: oklch(37.9% 0.148 292.0);
Tailwind
colors: {
  custom: {
    50: '#8066ab',
    500: '#472a88',
    950: '#000000',
  },
}
SCSS
$custom: #472a88;
$custom-light: #8066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472a88",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 258.511,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.14796,
    "h": 292
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#472A88
secondary
#98B35B
accent
#DC4CB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472A88

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

Preview Lab → · Contrast checker → · Palette generator →

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