#472687#472687

#472687 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.152 H 293.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#472687
RGBrgb(71, 38, 135)
HSLhsl(260, 56%, 34%)
HSVhsv(260, 72%, 53%)
CMYKcmyk(47.4%, 71.9%, 0%, 47.1%)
CIE-LABlab(25.18, 38.49, -48.75)
CIE-LCHlch(25.18, 62.12, 308.29°)
OKLaboklab(37.2% 0.0597 -0.1396)
OKLCHoklch(37.2% 0.152 293.2)
XYZxyz(7.6636, 4.4749, 23.3769)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472687 #668726
analogous
#263687 #472687 #782687
triadic
#472687 #874726 #268747
tetradic
#472687 #872636 #668726 #268778
square
#472687 #872636 #668726 #268778
split-complementary
#472687 #877826 #368726
monochromatic
#150B27 #2E1957 #472687 #6033B7 #8058D0

Accessibility & contrast

On white

11.08
#472687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#472687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472687
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472687#FFFFFF#000000##FFFFFF
##4726871.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#343E53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472687;
/* rgb */ color: rgb(71, 38, 135);
/* oklch */ color: oklch(37.2% 0.152 293.2);
Tailwind
colors: {
  custom: {
    50: '#8163ab',
    500: '#472687',
    950: '#000000',
  },
}
SCSS
$custom: #472687;
$custom-light: #8163ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472687",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 260.412,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.15187,
    "h": 293.2
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#472687
secondary
#94B554
accent
#DF48AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #472687

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

Preview Lab → · Contrast checker → · Palette generator →

#472687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva