#472B71#472B71

#472B71 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.116 H 298.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#472B71
RGBrgb(71, 43, 113)
HSLhsl(264, 45%, 31%)
HSVhsv(264, 62%, 44%)
CMYKcmyk(37.2%, 61.9%, 0%, 55.7%)
CIE-LABlab(24.51, 29.24, -35.92)
CIE-LCHlch(24.51, 46.32, 309.15°)
OKLaboklab(36.17% 0.0563 -0.1019)
OKLCHoklch(36.17% 0.116 298.9)
XYZxyz(6.4423, 4.2595, 16.1023)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B71 #55712B
analogous
#2B3271 #472B71 #6A2B71
triadic
#472B71 #71472B #2B7147
tetradic
#472B71 #712B32 #55712B #2B716A
square
#472B71 #712B32 #55712B #2B716A
split-complementary
#472B71 #716A2B #32712B
monochromatic
#0F0918 #2B1A45 #472B71 #633C9D #8157BF

Accessibility & contrast

On white

11.34
#472B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#472B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B71
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B71#FFFFFF#000000##FFFFFF
##472B711.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#133A6F
Tritanopia (blue-blind)
#3E3A49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472b71;
/* rgb */ color: rgb(71, 43, 113);
/* oklch */ color: oklch(36.2% 0.116 298.9);
Tailwind
colors: {
  custom: {
    50: '#7d669a',
    500: '#472b71',
    950: '#000000',
  },
}
SCSS
$custom: #472b71;
$custom-light: #7d669a;
$custom-dark: #000000;
JSON
{
  "hex": "#472b71",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 264,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.11642,
    "h": 298.9
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#472B71
secondary
#84A355
accent
#D553A1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #472B71

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

Preview Lab → · Contrast checker → · Palette generator →

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