#472EB2#472EB2

#472EB2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.195 H 282.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#472EB2
RGBrgb(71, 46, 178)
HSLhsl(251, 59%, 44%)
HSVhsv(251, 74%, 70%)
CMYKcmyk(60.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(30.66, 46.97, -66.01)
CIE-LCHlch(30.66, 81.01, 305.43°)
OKLaboklab(42.29% 0.0434 -0.1903)
OKLCHoklch(42.29% 0.195 282.8)
XYZxyz(11.6089, 6.5072, 42.7551)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EB2 #99B22E
analogous
#2E57B2 #472EB2 #892EB2
triadic
#472EB2 #B2472E #2EB247
tetradic
#472EB2 #B22E57 #99B22E #2EB289
square
#472EB2 #B22E57 #99B22E #2EB289
split-complementary
#472EB2 #B2892E #57B22E
monochromatic
#201551 #342181 #472EB2 #654CD1 #8F7DDD

Accessibility & contrast

On white

9.12
#472EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#472EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EB2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EB2#FFFFFF#000000##FFFFFF
##472EB21.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472eb2;
/* rgb */ color: rgb(71, 46, 178);
/* oklch */ color: oklch(42.3% 0.195 282.8);
Tailwind
colors: {
  custom: {
    50: '#876aca',
    500: '#472eb2',
    950: '#000000',
  },
}
SCSS
$custom: #472eb2;
$custom-light: #876aca;
$custom-dark: #000000;
JSON
{
  "hex": "#472eb2",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 251.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.19515,
    "h": 282.8
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#472EB2
secondary
#B7C676
accent
#E246C4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #472EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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