#472BA5#472BA5

#472BA5 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.183 H 285.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#472BA5
RGBrgb(71, 43, 165)
HSLhsl(254, 59%, 41%)
HSVhsv(254, 74%, 65%)
CMYKcmyk(57%, 73.9%, 0%, 35.3%)
CIE-LABlab(28.86, 44.65, -61.17)
CIE-LCHlch(28.86, 75.73, 306.13°)
OKLaboklab(40.64% 0.0487 -0.1761)
OKLCHoklch(40.64% 0.183 285.5)
XYZxyz(10.2519, 5.7834, 36.1661)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BA5 #89A52B
analogous
#2B4CA5 #472BA5 #842BA5
triadic
#472BA5 #A5472B #2BA547
tetradic
#472BA5 #A52B4C #89A52B #2BA584
square
#472BA5 #A52B4C #89A52B #2BA584
split-complementary
#472BA5 #A5842B #4CA52B
monochromatic
#1D1244 #321E74 #472BA5 #6040CD #8971DA

Accessibility & contrast

On white

9.74
#472BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#472BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BA5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BA5#FFFFFF#000000##FFFFFF
##472BA51.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#194C65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ba5;
/* rgb */ color: rgb(71, 43, 165);
/* oklch */ color: oklch(40.6% 0.183 285.5);
Tailwind
colors: {
  custom: {
    50: '#8567c1',
    500: '#472ba5',
    950: '#000000',
  },
}
SCSS
$custom: #472ba5;
$custom-light: #8567c1;
$custom-dark: #000000;
JSON
{
  "hex": "#472ba5",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 253.77,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.18268,
    "h": 285.5
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#472BA5
secondary
#ADC16B
accent
#E246BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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