#472A72#472A72

#472A72 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.1% C 0.119 H 298.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#472A72
RGBrgb(71, 42, 114)
HSLhsl(264, 46%, 31%)
HSVhsv(264, 63%, 45%)
CMYKcmyk(37.7%, 63.2%, 0%, 55.3%)
CIE-LABlab(24.36, 30.14, -36.81)
CIE-LCHlch(24.36, 47.57, 309.31°)
OKLaboklab(36.08% 0.0576 -0.1045)
OKLCHoklch(36.08% 0.119 298.8)
XYZxyz(6.4630, 4.2104, 16.3885)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A72 #55722A
analogous
#2A3172 #472A72 #6B2A72
triadic
#472A72 #72472A #2A7247
tetradic
#472A72 #722A31 #55722A #2A726B
square
#472A72 #722A31 #55722A #2A726B
split-complementary
#472A72 #726B2A #31722A
monochromatic
#0F0919 #2B1A45 #472A72 #633A9F #8156C1

Accessibility & contrast

On white

11.40
#472A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#472A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A72
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A72#FFFFFF#000000##FFFFFF
##472A721.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#3D3949
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472a72;
/* rgb */ color: rgb(71, 42, 114);
/* oklch */ color: oklch(36.1% 0.119 298.8);
Tailwind
colors: {
  custom: {
    50: '#7e659b',
    500: '#472a72',
    950: '#000000',
  },
}
SCSS
$custom: #472a72;
$custom-light: #7e659b;
$custom-dark: #000000;
JSON
{
  "hex": "#472a72",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 264.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.11934,
    "h": 298.8
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#472A72
secondary
#84A454
accent
#D652A1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #472A72

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

Preview Lab → · Contrast checker → · Palette generator →

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