#472AB7#472AB7

#472AB7 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.205 H 282.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#472AB7
RGBrgb(71, 42, 183)
HSLhsl(252, 63%, 44%)
HSVhsv(252, 77%, 72%)
CMYKcmyk(61.2%, 77%, 0%, 28.2%)
CIE-LABlab(30.43, 50.49, -69.36)
CIE-LCHlch(30.43, 85.79, 306.05°)
OKLaboklab(42.28% 0.0448 -0.2)
OKLCHoklch(42.28% 0.205 282.6)
XYZxyz(11.9711, 6.4136, 45.3977)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AB7 #9AB72A
analogous
#2A54B7 #472AB7 #8E2AB7
triadic
#472AB7 #B7472A #2AB747
tetradic
#472AB7 #B72A54 #9AB72A #2AB78E
square
#472AB7 #B72A54 #9AB72A #2AB78E
split-complementary
#472AB7 #B78E2A #54B72A
monochromatic
#201353 #341F85 #472AB7 #6649D5 #907BE1

Accessibility & contrast

On white

9.20
#472AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#472AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AB7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AB7#FFFFFF#000000##FFFFFF
##472AB71.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472ab7;
/* rgb */ color: rgb(71, 42, 183);
/* oklch */ color: oklch(42.3% 0.205 282.6);
Tailwind
colors: {
  custom: {
    50: '#8868ce',
    500: '#472ab7',
    950: '#000000',
  },
}
SCSS
$custom: #472ab7;
$custom-light: #8868ce;
$custom-dark: #000000;
JSON
{
  "hex": "#472ab7",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 252.34,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.20496,
    "h": 282.6
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#472AB7
secondary
#B7C974
accent
#E642C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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