#472179#472179

#472179 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.141 H 298.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#472179
RGBrgb(71, 33, 121)
HSLhsl(266, 57%, 30%)
HSVhsv(266, 73%, 47%)
CMYKcmyk(41.3%, 72.7%, 0%, 52.5%)
CIE-LABlab(23.03, 37.22, -43.43)
CIE-LCHlch(23.03, 57.20, 310.60°)
OKLaboklab(35.29% 0.0676 -0.124)
OKLCHoklch(35.29% 0.141 298.6)
XYZxyz(6.5927, 3.8077, 18.4731)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472179 #537921
analogous
#212779 #472179 #732179
triadic
#472179 #794721 #217947
tetradic
#472179 #792127 #537921 #217973
square
#472179 #792127 #537921 #217973
split-complementary
#472179 #797321 #277921
monochromatic
#0F0719 #2B1449 #472179 #632EA9 #8147CD

Accessibility & contrast

On white

11.92
#472179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#472179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472179
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472179#FFFFFF#000000##FFFFFF
##4721791.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#3B364A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #472179;
/* rgb */ color: rgb(71, 33, 121);
/* oklch */ color: oklch(35.3% 0.141 298.6);
Tailwind
colors: {
  custom: {
    50: '#7f60a0',
    500: '#472179',
    950: '#000000',
  },
}
SCSS
$custom: #472179;
$custom-light: #7f60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#472179",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 265.909,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3529,
    "c": 0.14124,
    "h": 298.6
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#472179
secondary
#82AC4A
accent
#E0479E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #472179

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

Preview Lab → · Contrast checker → · Palette generator →

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