#472079#472079

#472079 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.143 H 298.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#472079
RGBrgb(71, 32, 121)
HSLhsl(266, 58%, 30%)
HSVhsv(266, 74%, 47%)
CMYKcmyk(41.3%, 73.6%, 0%, 52.5%)
CIE-LABlab(22.84, 37.75, -43.74)
CIE-LCHlch(22.84, 57.78, 310.80°)
OKLaboklab(35.16% 0.0687 -0.1249)
OKLCHoklch(35.16% 0.143 298.8)
XYZxyz(6.5654, 3.7530, 18.4640)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472079 #527920
analogous
#202679 #472079 #732079
triadic
#472079 #794720 #207947
tetradic
#472079 #792026 #527920 #207973
square
#472079 #792026 #527920 #207973
split-complementary
#472079 #797320 #267920
monochromatic
#0E0618 #2B1349 #472079 #632DA9 #8145CE

Accessibility & contrast

On white

12.00
#472079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#472079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472079
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472079#FFFFFF#000000##FFFFFF
##4720791.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472079;
/* rgb */ color: rgb(71, 32, 121);
/* oklch */ color: oklch(35.2% 0.143 298.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fa0',
    500: '#472079',
    950: '#000000',
  },
}
SCSS
$custom: #472079;
$custom-light: #7f5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#472079",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 266.292,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.35156,
    "c": 0.14254,
    "h": 298.8
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#472079
secondary
#81AC49
accent
#E1469D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #472079

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

Preview Lab → · Contrast checker → · Palette generator →

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