#472080#472080

#472080 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.151 H 296.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#472080
RGBrgb(71, 32, 128)
HSLhsl(264, 60%, 31%)
HSVhsv(264, 75%, 50%)
CMYKcmyk(44.5%, 75%, 0%, 49.8%)
CIE-LABlab(23.44, 39.68, -47.20)
CIE-LCHlch(23.44, 61.66, 310.05°)
OKLaboklab(35.77% 0.0672 -0.135)
OKLCHoklch(35.77% 0.151 296.5)
XYZxyz(7.0103, 3.9310, 20.8073)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472080 #598020
analogous
#202980 #472080 #772080
triadic
#472080 #804720 #208047
tetradic
#472080 #802029 #598020 #208077
square
#472080 #802029 #598020 #208077
split-complementary
#472080 #807720 #298020
monochromatic
#11081E #2C144F #472080 #622CB1 #8049D1

Accessibility & contrast

On white

11.76
#472080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#472080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472080
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472080#FFFFFF#000000##FFFFFF
##4720801.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472080;
/* rgb */ color: rgb(71, 32, 128);
/* oklch */ color: oklch(35.8% 0.151 296.5);
Tailwind
colors: {
  custom: {
    50: '#805fa6',
    500: '#472080',
    950: '#000000',
  },
}
SCSS
$custom: #472080;
$custom-light: #805fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#472080",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 264.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.15084,
    "h": 296.5
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#472080
secondary
#88B349
accent
#E345A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #472080

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

Preview Lab → · Contrast checker → · Palette generator →

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