#472FB6#472FB6

#472FB6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.199 H 282.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#472FB6
RGBrgb(71, 47, 182)
HSLhsl(251, 59%, 45%)
HSVhsv(251, 74%, 71%)
CMYKcmyk(61%, 74.2%, 0%, 28.6%)
CIE-LABlab(31.23, 47.65, -67.45)
CIE-LCHlch(31.23, 82.58, 305.24°)
OKLaboklab(42.81% 0.0417 -0.1945)
OKLCHoklch(42.81% 0.199 282.1)
XYZxyz(12.0559, 6.7492, 44.9143)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FB6 #9EB62F
analogous
#2F5AB6 #472FB6 #8B2FB6
triadic
#472FB6 #B6472F #2FB647
tetradic
#472FB6 #B62F5A #9EB62F #2FB68B
square
#472FB6 #B62F5A #9EB62F #2FB68B
split-complementary
#472FB6 #B68B2F #5AB62F
monochromatic
#211655 #342285 #472FB6 #6750D2 #9281DE

Accessibility & contrast

On white

8.94
#472FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#472FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FB6
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FB6#FFFFFF#000000##FFFFFF
##472FB61.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472fb6;
/* rgb */ color: rgb(71, 47, 182);
/* oklch */ color: oklch(42.8% 0.199 282.1);
Tailwind
colors: {
  custom: {
    50: '#886bcd',
    500: '#472fb6',
    950: '#000000',
  },
}
SCSS
$custom: #472fb6;
$custom-light: #886bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#472fb6",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 250.667,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.19891,
    "h": 282.1
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#472FB6
secondary
#BAC779
accent
#E246C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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