#472980#472980

#472980 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.139 H 294.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#472980
RGBrgb(71, 41, 128)
HSLhsl(261, 51%, 33%)
HSVhsv(261, 68%, 50%)
CMYKcmyk(44.5%, 68%, 0%, 49.8%)
CIE-LABlab(25.21, 34.78, -44.32)
CIE-LCHlch(25.21, 56.33, 308.12°)
OKLaboklab(37.04% 0.0576 -0.1266)
OKLCHoklch(37.04% 0.139 294.5)
XYZxyz(7.2867, 4.4838, 20.8994)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472980 #628029
analogous
#293680 #472980 #722980
triadic
#472980 #804729 #298047
tetradic
#472980 #802936 #628029 #298072
square
#472980 #802936 #628029 #298072
split-complementary
#472980 #807229 #368029
monochromatic
#140B23 #2D1A52 #472980 #6138AE #8059CA

Accessibility & contrast

On white

11.07
#472980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#472980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472980
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472980#FFFFFF#000000##FFFFFF
##4729801.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#373E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472980;
/* rgb */ color: rgb(71, 41, 128);
/* oklch */ color: oklch(37.0% 0.139 294.5);
Tailwind
colors: {
  custom: {
    50: '#7f65a6',
    500: '#472980',
    950: '#000000',
  },
}
SCSS
$custom: #472980;
$custom-light: #7f65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#472980",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 260.69,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.1391,
    "h": 294.5
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#472980
secondary
#90AF55
accent
#DB4DAA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #472980

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

Preview Lab → · Contrast checker → · Palette generator →

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