#472B7E#472B7E

#472B7E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.134 H 294.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#472B7E
RGBrgb(71, 43, 126)
HSLhsl(260, 49%, 33%)
HSVhsv(260, 66%, 49%)
CMYKcmyk(43.7%, 65.9%, 0%, 50.6%)
CIE-LABlab(25.48, 33.02, -42.61)
CIE-LCHlch(25.48, 53.91, 307.77°)
OKLaboklab(37.18% 0.0555 -0.1216)
OKLCHoklch(37.18% 0.134 294.5)
XYZxyz(7.2273, 4.5735, 20.2366)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B7E #627E2B
analogous
#2B387E #472B7E #702B7E
triadic
#472B7E #7E472B #2B7E47
tetradic
#472B7E #7E2B38 #627E2B #2B7E70
square
#472B7E #7E2B38 #627E2B #2B7E70
split-complementary
#472B7E #7E702B #387E2B
monochromatic
#140C23 #2D1B50 #472B7E #613BAC #805CC7

Accessibility & contrast

On white

10.97
#472B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#472B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B7E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B7E#FFFFFF#000000##FFFFFF
##472B7E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#383E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472b7e;
/* rgb */ color: rgb(71, 43, 126);
/* oklch */ color: oklch(37.2% 0.134 294.5);
Tailwind
colors: {
  custom: {
    50: '#7f66a4',
    500: '#472b7e',
    950: '#000000',
  },
}
SCSS
$custom: #472b7e;
$custom-light: #7f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#472b7e",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 260.241,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.13366,
    "h": 294.5
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#472B7E
secondary
#90AD58
accent
#D94FAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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