#472182#472182

#472182 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.152 H 295.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#472182
RGBrgb(71, 33, 130)
HSLhsl(264, 60%, 32%)
HSVhsv(264, 75%, 51%)
CMYKcmyk(45.4%, 74.6%, 0%, 49%)
CIE-LABlab(23.80, 39.72, -47.87)
CIE-LCHlch(23.80, 62.21, 309.68°)
OKLaboklab(36.08% 0.0658 -0.137)
OKLCHoklch(36.08% 0.152 295.6)
XYZxyz(7.1706, 4.0388, 21.5165)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472182 #5C8221
analogous
#212C82 #472182 #782182
triadic
#472182 #824721 #218247
tetradic
#472182 #82212C #5C8221 #218278
square
#472182 #82212C #5C8221 #218278
split-complementary
#472182 #827821 #2C8221
monochromatic
#120820 #2C1551 #472182 #622DB3 #804CD2

Accessibility & contrast

On white

11.62
#472182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#472182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472182
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472182#FFFFFF#000000##FFFFFF
##4721821.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#373A4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472182;
/* rgb */ color: rgb(71, 33, 130);
/* oklch */ color: oklch(36.1% 0.152 295.6);
Tailwind
colors: {
  custom: {
    50: '#8060a7',
    500: '#472182',
    950: '#000000',
  },
}
SCSS
$custom: #472182;
$custom-light: #8060a7;
$custom-dark: #000000;
JSON
{
  "hex": "#472182",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 263.505,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.152,
    "h": 295.6
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#472182
secondary
#8BB44A
accent
#E345A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472182

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

Preview Lab → · Contrast checker → · Palette generator →

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