#472B95#472B95

#472B95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.163 H 288.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#472B95
RGBrgb(71, 43, 149)
HSLhsl(256, 55%, 38%)
HSVhsv(256, 71%, 58%)
CMYKcmyk(52.3%, 71.1%, 0%, 41.6%)
CIE-LABlab(27.40, 39.86, -53.81)
CIE-LCHlch(27.40, 66.97, 306.53°)
OKLaboklab(39.16% 0.0521 -0.1545)
OKLCHoklch(39.16% 0.163 288.6)
XYZxyz(8.8856, 5.2369, 28.9706)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B95 #79952B
analogous
#2B4495 #472B95 #7C2B95
triadic
#472B95 #95472B #2B9547
tetradic
#472B95 #952B44 #79952B #2B957C
square
#472B95 #952B44 #79952B #2B957C
split-complementary
#472B95 #957C2B #44952B
monochromatic
#1A1036 #301D66 #472B95 #5E39C4 #8467D3

Accessibility & contrast

On white

10.26
#472B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#472B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B95
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B95#FFFFFF#000000##FFFFFF
##472B951.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#2A465D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #472b95;
/* rgb */ color: rgb(71, 43, 149);
/* oklch */ color: oklch(39.2% 0.163 288.6);
Tailwind
colors: {
  custom: {
    50: '#8267b5',
    500: '#472b95',
    950: '#000000',
  },
}
SCSS
$custom: #472b95;
$custom-light: #8267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472b95",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 255.849,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.16306,
    "h": 288.6
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#472B95
secondary
#A3BA62
accent
#DF49B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472B95

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

Preview Lab → · Contrast checker → · Palette generator →

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