#472E82#472E82

#472E82 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.135 H 292.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#472E82
RGBrgb(71, 46, 130)
HSLhsl(258, 48%, 35%)
HSVhsv(258, 65%, 51%)
CMYKcmyk(45.4%, 64.6%, 0%, 49%)
CIE-LABlab(26.46, 32.41, -43.54)
CIE-LCHlch(26.46, 54.28, 306.67°)
OKLaboklab(37.99% 0.0516 -0.1243)
OKLCHoklch(37.99% 0.135 292.5)
XYZxyz(7.6037, 4.9051, 21.6609)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E82 #69822E
analogous
#2E3F82 #472E82 #712E82
triadic
#472E82 #82472E #2E8247
tetradic
#472E82 #822E3F #69822E #2E8271
square
#472E82 #822E3F #69822E #2E8271
split-complementary
#472E82 #82712E #3F822E
monochromatic
#160E28 #2E1E55 #472E82 #603EAF #8163C8

Accessibility & contrast

On white

10.60
#472E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#472E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E82
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E82#FFFFFF#000000##FFFFFF
##472E821.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#364153
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472e82;
/* rgb */ color: rgb(71, 46, 130);
/* oklch */ color: oklch(38.0% 0.135 292.5);
Tailwind
colors: {
  custom: {
    50: '#7f68a7',
    500: '#472e82',
    950: '#000000',
  },
}
SCSS
$custom: #472e82;
$custom-light: #7f68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#472e82",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 257.857,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37991,
    "c": 0.13461,
    "h": 292.5
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#472E82
secondary
#96AE5D
accent
#D750AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472E82

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

Preview Lab → · Contrast checker → · Palette generator →

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