#472EB4#472EB4

#472EB4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.198 H 282.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#472EB4
RGBrgb(71, 46, 180)
HSLhsl(251, 59%, 44%)
HSVhsv(251, 74%, 71%)
CMYKcmyk(60.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(30.85, 47.57, -66.89)
CIE-LCHlch(30.85, 82.08, 305.42°)
OKLaboklab(42.48% 0.0429 -0.1928)
OKLCHoklch(42.48% 0.198 282.5)
XYZxyz(11.8112, 6.5881, 43.8204)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EB4 #9BB42E
analogous
#2E58B4 #472EB4 #8A2EB4
triadic
#472EB4 #B4472E #2EB447
tetradic
#472EB4 #B42E58 #9BB42E #2EB48A
square
#472EB4 #B42E58 #9BB42E #2EB48A
split-complementary
#472EB4 #B48A2E #58B42E
monochromatic
#211553 #342283 #472EB4 #664ED2 #907EDE

Accessibility & contrast

On white

9.06
#472EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#472EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EB4
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EB4#FFFFFF#000000##FFFFFF
##472EB41.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472eb4;
/* rgb */ color: rgb(71, 46, 180);
/* oklch */ color: oklch(42.5% 0.198 282.5);
Tailwind
colors: {
  custom: {
    50: '#876acc',
    500: '#472eb4',
    950: '#000000',
  },
}
SCSS
$custom: #472eb4;
$custom-light: #876acc;
$custom-dark: #000000;
JSON
{
  "hex": "#472eb4",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 251.194,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.19753,
    "h": 282.5
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#472EB4
secondary
#B8C777
accent
#E245C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #472EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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