#472180#472180

#472180 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.150 H 296.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#472180
RGBrgb(71, 33, 128)
HSLhsl(264, 59%, 32%)
HSVhsv(264, 74%, 50%)
CMYKcmyk(44.5%, 74.2%, 0%, 49.8%)
CIE-LABlab(23.62, 39.16, -46.90)
CIE-LCHlch(23.62, 61.10, 309.86°)
OKLaboklab(35.9% 0.0662 -0.1342)
OKLCHoklch(35.9% 0.15 296.3)
XYZxyz(7.0376, 3.9857, 20.8164)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472180 #5A8021
analogous
#212B80 #472180 #772180
triadic
#472180 #804721 #218047
tetradic
#472180 #80212B #5A8021 #218077
square
#472180 #80212B #5A8021 #218077
split-complementary
#472180 #807721 #2B8021
monochromatic
#11081F #2C144F #472180 #622EB1 #804BD1

Accessibility & contrast

On white

11.68
#472180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#472180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472180
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472180#FFFFFF#000000##FFFFFF
##4721801.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#38394E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #472180;
/* rgb */ color: rgb(71, 33, 128);
/* oklch */ color: oklch(35.9% 0.150 296.3);
Tailwind
colors: {
  custom: {
    50: '#8060a6',
    500: '#472180',
    950: '#000000',
  },
}
SCSS
$custom: #472180;
$custom-light: #8060a6;
$custom-dark: #000000;
JSON
{
  "hex": "#472180",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 264,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35902,
    "c": 0.14962,
    "h": 296.3
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#472180
secondary
#89B34A
accent
#E246A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #472180

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

Preview Lab → · Contrast checker → · Palette generator →

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