#472BB9#472BB9

#472BB9 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.206 H 282.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#472BB9
RGBrgb(71, 43, 185)
HSLhsl(252, 62%, 45%)
HSVhsv(252, 77%, 73%)
CMYKcmyk(61.6%, 76.8%, 0%, 27.5%)
CIE-LABlab(30.81, 50.58, -69.93)
CIE-LCHlch(30.81, 86.31, 305.88°)
OKLaboklab(42.6% 0.0436 -0.2017)
OKLCHoklch(42.6% 0.206 282.2)
XYZxyz(12.2166, 6.5693, 46.5138)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB9 #9DB92B
analogous
#2B56B9 #472BB9 #8E2BB9
triadic
#472BB9 #B9472B #2BB947
tetradic
#472BB9 #B92B56 #9DB92B #2BB98E
square
#472BB9 #B92B56 #9DB92B #2BB98E
split-complementary
#472BB9 #B98E2B #56B92B
monochromatic
#211456 #341F87 #472BB9 #674CD5 #917EE1

Accessibility & contrast

On white

9.08
#472BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#472BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BB9
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BB9#FFFFFF#000000##FFFFFF
##472BB91.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472bb9;
/* rgb */ color: rgb(71, 43, 185);
/* oklch */ color: oklch(42.6% 0.206 282.2);
Tailwind
colors: {
  custom: {
    50: '#8868cf',
    500: '#472bb9',
    950: '#000000',
  },
}
SCSS
$custom: #472bb9;
$custom-light: #8868cf;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb9",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 251.831,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.426,
    "c": 0.20635,
    "h": 282.2
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#472BB9
secondary
#B9C976
accent
#E542C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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