#472D79#472D79

#472D79 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.124 H 295.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#472D79
RGBrgb(71, 45, 121)
HSLhsl(261, 46%, 33%)
HSVhsv(261, 63%, 47%)
CMYKcmyk(41.3%, 62.8%, 0%, 52.5%)
CIE-LABlab(25.55, 30.35, -39.34)
CIE-LCHlch(25.55, 49.68, 307.65°)
OKLaboklab(37.11% 0.0534 -0.112)
OKLCHoklch(37.11% 0.124 295.5)
XYZxyz(6.9872, 4.5967, 18.6046)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D79 #5F792D
analogous
#2D3979 #472D79 #6D2D79
triadic
#472D79 #79472D #2D7947
tetradic
#472D79 #792D39 #5F792D #2D796D
square
#472D79 #792D39 #5F792D #2D796D
split-complementary
#472D79 #796D2D #39792D
monochromatic
#130C20 #2D1C4C #472D79 #613EA6 #805DC3

Accessibility & contrast

On white

10.94
#472D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#472D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D79
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D79#FFFFFF#000000##FFFFFF
##472D791.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#073B77
Tritanopia (blue-blind)
#3A3E4E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472d79;
/* rgb */ color: rgb(71, 45, 121);
/* oklch */ color: oklch(37.1% 0.124 295.5);
Tailwind
colors: {
  custom: {
    50: '#7e67a0',
    500: '#472d79',
    950: '#000000',
  },
}
SCSS
$custom: #472d79;
$custom-light: #7e67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#472d79",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 260.526,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37113,
    "c": 0.12404,
    "h": 295.5
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#472D79
secondary
#8EA958
accent
#D552A9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #472D79

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

Preview Lab → · Contrast checker → · Palette generator →

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