#472EB7#472EB7

#472EB7 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.201 H 282.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#472EB7
RGBrgb(71, 46, 183)
HSLhsl(251, 60%, 45%)
HSVhsv(251, 75%, 72%)
CMYKcmyk(61.2%, 74.9%, 0%, 28.2%)
CIE-LABlab(31.14, 48.47, -68.19)
CIE-LCHlch(31.14, 83.66, 305.41°)
OKLaboklab(42.78% 0.0422 -0.1966)
OKLCHoklch(42.78% 0.201 282.1)
XYZxyz(12.1201, 6.7116, 45.4474)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EB7 #9EB72E
analogous
#2E59B7 #472EB7 #8C2EB7
triadic
#472EB7 #B7472E #2EB747
tetradic
#472EB7 #B72E59 #9EB72E #2EB78C
square
#472EB7 #B72E59 #9EB72E #2EB78C
split-complementary
#472EB7 #B78C2E #59B72E
monochromatic
#211555 #342286 #472EB7 #674FD3 #9280DF

Accessibility & contrast

On white

8.97
#472EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#472EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EB7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EB7#FFFFFF#000000##FFFFFF
##472EB71.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472eb7;
/* rgb */ color: rgb(71, 46, 183);
/* oklch */ color: oklch(42.8% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#886ace',
    500: '#472eb7',
    950: '#000000',
  },
}
SCSS
$custom: #472eb7;
$custom-light: #886ace;
$custom-dark: #000000;
JSON
{
  "hex": "#472eb7",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 250.949,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.20111,
    "h": 282.1
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#472EB7
secondary
#BAC879
accent
#E345C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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