#472B7D#472B7D

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

Color values

HEX#472B7D
RGBrgb(71, 43, 125)
HSLhsl(260, 49%, 33%)
HSVhsv(260, 66%, 49%)
CMYKcmyk(43.2%, 65.6%, 0%, 51%)
CIE-LABlab(25.41, 32.73, -42.11)
CIE-LCHlch(25.41, 53.33, 307.85°)
OKLaboklab(37.1% 0.0556 -0.1201)
OKLCHoklch(37.1% 0.132 294.8)
XYZxyz(7.1631, 4.5478, 19.8985)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B7D #617D2B
analogous
#2B387D #472B7D #702B7D
triadic
#472B7D #7D472B #2B7D47
tetradic
#472B7D #7D2B38 #617D2B #2B7D70
square
#472B7D #7D2B38 #617D2B #2B7D70
split-complementary
#472B7D #7D702B #387D2B
monochromatic
#130C22 #2D1B4F #472B7D #613BAB #805CC7

Accessibility & contrast

On white

11.00
#472B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472B7D
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B7D#FFFFFF#000000##FFFFFF
##472B7D1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#393E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472b7d;
/* rgb */ color: rgb(71, 43, 125);
/* oklch */ color: oklch(37.1% 0.132 294.8);
Tailwind
colors: {
  custom: {
    50: '#7f66a3',
    500: '#472b7d',
    950: '#000000',
  },
}
SCSS
$custom: #472b7d;
$custom-light: #7f66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#472b7d",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 260.488,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.13236,
    "h": 294.8
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#472B7D
secondary
#8FAD57
accent
#D84FAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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