#472EB3#472EB3

#472EB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.196 H 282.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#472EB3
RGBrgb(71, 46, 179)
HSLhsl(251, 59%, 44%)
HSVhsv(251, 74%, 70%)
CMYKcmyk(60.3%, 74.3%, 0%, 29.8%)
CIE-LABlab(30.75, 47.27, -66.45)
CIE-LCHlch(30.75, 81.55, 305.43°)
OKLaboklab(42.39% 0.0431 -0.1915)
OKLCHoklch(42.39% 0.196 282.7)
XYZxyz(11.7097, 6.5475, 43.2858)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EB3 #9AB32E
analogous
#2E58B3 #472EB3 #8A2EB3
triadic
#472EB3 #B3472E #2EB347
tetradic
#472EB3 #B32E58 #9AB32E #2EB38A
square
#472EB3 #B32E58 #9AB32E #2EB38A
split-complementary
#472EB3 #B38A2E #58B32E
monochromatic
#201552 #342182 #472EB3 #664DD1 #907EDE

Accessibility & contrast

On white

9.09
#472EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472EB3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EB3#FFFFFF#000000##FFFFFF
##472EB31.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472eb3;
/* rgb */ color: rgb(71, 46, 179);
/* oklch */ color: oklch(42.4% 0.196 282.7);
Tailwind
colors: {
  custom: {
    50: '#876acb',
    500: '#472eb3',
    950: '#000000',
  },
}
SCSS
$custom: #472eb3;
$custom-light: #876acb;
$custom-dark: #000000;
JSON
{
  "hex": "#472eb3",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 251.278,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.19635,
    "h": 282.7
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#472EB3
secondary
#B7C676
accent
#E246C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #472EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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