#472D83#472D83

#472D83 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.137 H 292.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#472D83
RGBrgb(71, 45, 131)
HSLhsl(258, 49%, 35%)
HSVhsv(258, 66%, 51%)
CMYKcmyk(45.8%, 65.6%, 0%, 48.6%)
CIE-LABlab(26.32, 33.31, -44.40)
CIE-LCHlch(26.32, 55.51, 306.88°)
OKLaboklab(37.91% 0.0527 -0.1269)
OKLCHoklch(37.91% 0.137 292.5)
XYZxyz(7.6325, 4.8548, 22.0033)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D83 #69832D
analogous
#2D3E83 #472D83 #722D83
triadic
#472D83 #83472D #2D8347
tetradic
#472D83 #832D3E #69832D #2D8372
square
#472D83 #832D3E #69832D #2D8372
split-complementary
#472D83 #83722D #3E832D
monochromatic
#160E28 #2E1D55 #472D83 #603DB1 #8162C9

Accessibility & contrast

On white

10.65
#472D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#472D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D83
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D83#FFFFFF#000000##FFFFFF
##472D831.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#364153
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472d83;
/* rgb */ color: rgb(71, 45, 131);
/* oklch */ color: oklch(37.9% 0.137 292.5);
Tailwind
colors: {
  custom: {
    50: '#7f67a8',
    500: '#472d83',
    950: '#000000',
  },
}
SCSS
$custom: #472d83;
$custom-light: #7f67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#472d83",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 258.14,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37911,
    "c": 0.13737,
    "h": 292.5
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#472D83
secondary
#96AF5C
accent
#D84FAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472D83

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

Preview Lab → · Contrast checker → · Palette generator →

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