#472EB5#472EB5

#472EB5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.199 H 282.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#472EB5
RGBrgb(71, 46, 181)
HSLhsl(251, 59%, 45%)
HSVhsv(251, 75%, 71%)
CMYKcmyk(60.8%, 74.6%, 0%, 29%)
CIE-LABlab(30.95, 47.87, -67.32)
CIE-LCHlch(30.95, 82.61, 305.42°)
OKLaboklab(42.58% 0.0427 -0.1941)
OKLCHoklch(42.58% 0.199 282.4)
XYZxyz(11.9134, 6.6290, 44.3588)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EB5 #9CB52E
analogous
#2E59B5 #472EB5 #8B2EB5
triadic
#472EB5 #B5472E #2EB547
tetradic
#472EB5 #B52E59 #9CB52E #2EB58B
square
#472EB5 #B52E59 #9CB52E #2EB58B
split-complementary
#472EB5 #B58B2E #59B52E
monochromatic
#211553 #342284 #472EB5 #674ED2 #917FDE

Accessibility & contrast

On white

9.03
#472EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#472EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EB5
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EB5#FFFFFF#000000##FFFFFF
##472EB51.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472eb5;
/* rgb */ color: rgb(71, 46, 181);
/* oklch */ color: oklch(42.6% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#876acc',
    500: '#472eb5',
    950: '#000000',
  },
}
SCSS
$custom: #472eb5;
$custom-light: #876acc;
$custom-dark: #000000;
JSON
{
  "hex": "#472eb5",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 251.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.19873,
    "h": 282.4
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#472EB5
secondary
#B8C778
accent
#E345C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #472EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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