#472FB8#472FB8

#472FB8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.201 H 281.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#472FB8
RGBrgb(71, 47, 184)
HSLhsl(251, 59%, 45%)
HSVhsv(251, 74%, 72%)
CMYKcmyk(61.4%, 74.5%, 0%, 27.8%)
CIE-LABlab(31.42, 48.25, -68.32)
CIE-LCHlch(31.42, 83.64, 305.23°)
OKLaboklab(43% 0.0413 -0.197)
OKLCHoklch(43% 0.201 281.8)
XYZxyz(12.2641, 6.8324, 46.0106)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FB8 #A0B82F
analogous
#2F5BB8 #472FB8 #8B2FB8
triadic
#472FB8 #B8472F #2FB847
tetradic
#472FB8 #B82F5B #A0B82F #2FB88B
square
#472FB8 #B82F5B #A0B82F #2FB88B
split-complementary
#472FB8 #B88B2F #5BB82F
monochromatic
#211657 #342387 #472FB8 #6852D3 #9382DF

Accessibility & contrast

On white

8.87
#472FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#472FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FB8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FB8#FFFFFF#000000##FFFFFF
##472FB81.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #472fb8;
/* rgb */ color: rgb(71, 47, 184);
/* oklch */ color: oklch(43.0% 0.201 281.8);
Tailwind
colors: {
  custom: {
    50: '#886bcf',
    500: '#472fb8',
    950: '#000000',
  },
}
SCSS
$custom: #472fb8;
$custom-light: #886bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#472fb8",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 250.511,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.2013,
    "h": 281.8
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#472FB8
secondary
#BBC87B
accent
#E245C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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