#472FBA#472FBA

#472FBA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.204 H 281.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#472FBA
RGBrgb(71, 47, 186)
HSLhsl(250, 60%, 46%)
HSVhsv(250, 75%, 73%)
CMYKcmyk(61.8%, 74.7%, 0%, 27.1%)
CIE-LABlab(31.62, 48.86, -69.18)
CIE-LCHlch(31.62, 84.69, 305.23°)
OKLaboklab(43.2% 0.0408 -0.1995)
OKLCHoklch(43.2% 0.204 281.6)
XYZxyz(12.4752, 6.9169, 47.1226)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FBA #A2BA2F
analogous
#2F5CBA #472FBA #8C2FBA
triadic
#472FBA #BA472F #2FBA47
tetradic
#472FBA #BA2F5C #A2BA2F #2FBA8C
square
#472FBA #BA2F5C #A2BA2F #2FBA8C
split-complementary
#472FBA #BA8C2F #5CBA2F
monochromatic
#221658 #342389 #472FBA #6953D3 #9484E0

Accessibility & contrast

On white

8.81
#472FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#472FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FBA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FBA#FFFFFF#000000##FFFFFF
##472FBA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #472fba;
/* rgb */ color: rgb(71, 47, 186);
/* oklch */ color: oklch(43.2% 0.204 281.6);
Tailwind
colors: {
  custom: {
    50: '#886bd0',
    500: '#472fba',
    950: '#000000',
  },
}
SCSS
$custom: #472fba;
$custom-light: #886bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#472fba",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 250.36,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.432,
    "c": 0.20367,
    "h": 281.6
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#472FBA
secondary
#BCC97C
accent
#E345C8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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