#472D81#472D81

#472D81 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.135 H 293.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#472D81
RGBrgb(71, 45, 129)
HSLhsl(259, 48%, 34%)
HSVhsv(259, 65%, 51%)
CMYKcmyk(45%, 65.1%, 0%, 49.4%)
CIE-LABlab(26.16, 32.72, -43.40)
CIE-LCHlch(26.16, 54.35, 307.01°)
OKLaboklab(37.75% 0.0528 -0.1239)
OKLCHoklch(37.75% 0.135 293.1)
XYZxyz(7.4983, 4.8011, 21.2963)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D81 #67812D
analogous
#2D3D81 #472D81 #712D81
triadic
#472D81 #81472D #2D8147
tetradic
#472D81 #812D3D #67812D #2D8171
square
#472D81 #812D3D #67812D #2D8171
split-complementary
#472D81 #81712D #3D812D
monochromatic
#150D26 #2E1D54 #472D81 #603DAE #8161C8

Accessibility & contrast

On white

10.71
#472D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#472D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D81
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D81#FFFFFF#000000##FFFFFF
##472D811.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#374052
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472d81;
/* rgb */ color: rgb(71, 45, 129);
/* oklch */ color: oklch(37.7% 0.135 293.1);
Tailwind
colors: {
  custom: {
    50: '#7f67a6',
    500: '#472d81',
    950: '#000000',
  },
}
SCSS
$custom: #472d81;
$custom-light: #7f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#472d81",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 258.571,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.13472,
    "h": 293.1
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#472D81
secondary
#95AE5C
accent
#D850AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472D81

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

Preview Lab → · Contrast checker → · Palette generator →

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