#472A7E#472A7E

#472A7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.135 H 294.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#472A7E
RGBrgb(71, 42, 126)
HSLhsl(261, 50%, 33%)
HSVhsv(261, 67%, 49%)
CMYKcmyk(43.7%, 66.7%, 0%, 50.6%)
CIE-LABlab(25.27, 33.61, -42.97)
CIE-LCHlch(25.27, 54.55, 308.03°)
OKLaboklab(37.03% 0.0567 -0.1226)
OKLCHoklch(37.03% 0.135 294.8)
XYZxyz(7.1914, 4.5017, 20.2246)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A7E #617E2A
analogous
#2A377E #472A7E #712A7E
triadic
#472A7E #7E472A #2A7E47
tetradic
#472A7E #7E2A37 #617E2A #2A7E71
square
#472A7E #7E2A37 #617E2A #2A7E71
split-complementary
#472A7E #7E712A #377E2A
monochromatic
#130B22 #2D1B50 #472A7E #6139AC #805AC8

Accessibility & contrast

On white

11.05
#472A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#472A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A7E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A7E#FFFFFF#000000##FFFFFF
##472A7E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472a7e;
/* rgb */ color: rgb(71, 42, 126);
/* oklch */ color: oklch(37.0% 0.135 294.8);
Tailwind
colors: {
  custom: {
    50: '#7f65a4',
    500: '#472a7e',
    950: '#000000',
  },
}
SCSS
$custom: #472a7e;
$custom-light: #7f65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#472a7e",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 260.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.1351,
    "h": 294.8
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#472A7E
secondary
#8FAE56
accent
#DA4EA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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