#472879#472879

#472879 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.132 H 296.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#472879
RGBrgb(71, 40, 121)
HSLhsl(263, 50%, 32%)
HSVhsv(263, 67%, 47%)
CMYKcmyk(41.3%, 66.9%, 0%, 52.5%)
CIE-LABlab(24.44, 33.33, -41.14)
CIE-LCHlch(24.44, 52.94, 309.01°)
OKLaboklab(36.31% 0.0596 -0.1172)
OKLCHoklch(36.31% 0.132 296.9)
XYZxyz(6.8076, 4.2375, 18.5447)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472879 #5A7928
analogous
#283279 #472879 #702879
triadic
#472879 #794728 #287947
tetradic
#472879 #792832 #5A7928 #287970
square
#472879 #792832 #5A7928 #287970
split-complementary
#472879 #797028 #327928
monochromatic
#110A1D #2C194B #472879 #6237A7 #8055C7

Accessibility & contrast

On white

11.37
#472879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#472879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472879
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472879#FFFFFF#000000##FFFFFF
##4728791.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#3B3B4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472879;
/* rgb */ color: rgb(71, 40, 121);
/* oklch */ color: oklch(36.3% 0.132 296.9);
Tailwind
colors: {
  custom: {
    50: '#7f64a0',
    500: '#472879',
    950: '#000000',
  },
}
SCSS
$custom: #472879;
$custom-light: #7f64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#472879",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 262.963,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36306,
    "c": 0.13152,
    "h": 296.9
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#472879
secondary
#89AB52
accent
#DA4EA4
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #472879

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

Preview Lab → · Contrast checker → · Palette generator →

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