#472D82#472D82

#472D82 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.136 H 292.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#472D82
RGBrgb(71, 45, 130)
HSLhsl(258, 49%, 34%)
HSVhsv(258, 65%, 51%)
CMYKcmyk(45.4%, 65.4%, 0%, 49%)
CIE-LABlab(26.24, 33.02, -43.91)
CIE-LCHlch(26.24, 54.93, 306.94°)
OKLaboklab(37.83% 0.0527 -0.1254)
OKLCHoklch(37.83% 0.136 292.8)
XYZxyz(7.5651, 4.8278, 21.6480)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D82 #68822D
analogous
#2D3E82 #472D82 #722D82
triadic
#472D82 #82472D #2D8247
tetradic
#472D82 #822D3E #68822D #2D8272
square
#472D82 #822D3E #68822D #2D8272
split-complementary
#472D82 #82722D #3E822D
monochromatic
#150E27 #2E1D55 #472D82 #603DAF #8161C8

Accessibility & contrast

On white

10.68
#472D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#472D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D82
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D82#FFFFFF#000000##FFFFFF
##472D821.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#364153
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472d82;
/* rgb */ color: rgb(71, 45, 130);
/* oklch */ color: oklch(37.8% 0.136 292.8);
Tailwind
colors: {
  custom: {
    50: '#7f67a7',
    500: '#472d82',
    950: '#000000',
  },
}
SCSS
$custom: #472d82;
$custom-light: #7f67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#472d82",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 258.353,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37829,
    "c": 0.13605,
    "h": 292.8
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#472D82
secondary
#95AF5C
accent
#D850AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472D82

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

Preview Lab → · Contrast checker → · Palette generator →

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