#472188#472188

#472188 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.159 H 293.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#472188
RGBrgb(71, 33, 136)
HSLhsl(262, 61%, 33%)
HSVhsv(262, 76%, 53%)
CMYKcmyk(47.8%, 75.7%, 0%, 46.7%)
CIE-LABlab(24.34, 41.40, -50.76)
CIE-LCHlch(24.34, 65.50, 309.20°)
OKLaboklab(36.63% 0.0643 -0.1455)
OKLCHoklch(36.63% 0.159 293.9)
XYZxyz(7.5851, 4.2047, 23.6997)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472188 #628821
analogous
#212E88 #472188 #7A2188
triadic
#472188 #884721 #218847
tetradic
#472188 #88212E #628821 #21887A
square
#472188 #88212E #628821 #21887A
split-complementary
#472188 #887A21 #2E8821
monochromatic
#140925 #2D1557 #472188 #612DB9 #804FD4

Accessibility & contrast

On white

11.41
#472188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#472188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472188
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472188#FFFFFF#000000##FFFFFF
##4721881.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#343C53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472188;
/* rgb */ color: rgb(71, 33, 136);
/* oklch */ color: oklch(36.6% 0.159 293.9);
Tailwind
colors: {
  custom: {
    50: '#8160ac',
    500: '#472188',
    950: '#000000',
  },
}
SCSS
$custom: #472188;
$custom-light: #8160ac;
$custom-dark: #000000;
JSON
{
  "hex": "#472188",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 262.136,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.1591,
    "h": 293.9
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#472188
secondary
#90B84D
accent
#E444A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472188

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

Preview Lab → · Contrast checker → · Palette generator →

#472188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva