#472C82#472C82

#472C82 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.137 H 293.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#472C82
RGBrgb(71, 44, 130)
HSLhsl(259, 49%, 34%)
HSVhsv(259, 66%, 51%)
CMYKcmyk(45.4%, 66.2%, 0%, 49%)
CIE-LABlab(26.02, 33.61, -44.26)
CIE-LCHlch(26.02, 55.58, 307.21°)
OKLaboklab(37.67% 0.0539 -0.1265)
OKLCHoklch(37.67% 0.137 293.1)
XYZxyz(7.5274, 4.7524, 21.6355)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C82 #67822C
analogous
#2C3C82 #472C82 #722C82
triadic
#472C82 #82472C #2C8247
tetradic
#472C82 #822C3C #67822C #2C8272
square
#472C82 #822C3C #67822C #2C8272
split-complementary
#472C82 #82722C #3C822C
monochromatic
#150D27 #2E1D54 #472C82 #603BB0 #815FC9

Accessibility & contrast

On white

10.77
#472C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#472C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C82
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C82#FFFFFF#000000##FFFFFF
##472C821.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472c82;
/* rgb */ color: rgb(71, 44, 130);
/* oklch */ color: oklch(37.7% 0.137 293.1);
Tailwind
colors: {
  custom: {
    50: '#7f67a7',
    500: '#472c82',
    950: '#000000',
  },
}
SCSS
$custom: #472c82;
$custom-light: #7f67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#472c82",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 258.837,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37669,
    "c": 0.13747,
    "h": 293.1
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#472C82
secondary
#95AF5B
accent
#D94FAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #472C82

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

Preview Lab → · Contrast checker → · Palette generator →

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