#472B82#472B82

#472B82 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.139 H 293.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#472B82
RGBrgb(71, 43, 130)
HSLhsl(259, 50%, 34%)
HSVhsv(259, 67%, 51%)
CMYKcmyk(45.4%, 66.9%, 0%, 49%)
CIE-LABlab(25.80, 34.20, -44.62)
CIE-LCHlch(25.80, 56.22, 307.47°)
OKLaboklab(37.51% 0.0551 -0.1275)
OKLCHoklch(37.51% 0.139 293.4)
XYZxyz(7.4906, 4.6788, 21.6232)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B82 #66822B
analogous
#2B3B82 #472B82 #732B82
triadic
#472B82 #82472B #2B8247
tetradic
#472B82 #822B3B #66822B #2B8273
square
#472B82 #822B3B #66822B #2B8273
split-complementary
#472B82 #82732B #3B822B
monochromatic
#150D26 #2E1C54 #472B82 #603AB0 #805ECA

Accessibility & contrast

On white

10.85
#472B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#472B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B82
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B82#FFFFFF#000000##FFFFFF
##472B821.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#364052
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472b82;
/* rgb */ color: rgb(71, 43, 130);
/* oklch */ color: oklch(37.5% 0.139 293.4);
Tailwind
colors: {
  custom: {
    50: '#7f66a7',
    500: '#472b82',
    950: '#000000',
  },
}
SCSS
$custom: #472b82;
$custom-light: #7f66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#472b82",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 259.31,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.13888,
    "h": 293.4
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#472B82
secondary
#94B059
accent
#DA4EAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #472B82

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

Preview Lab → · Contrast checker → · Palette generator →

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