#472476#472476

#472476 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.133 H 299.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#472476
RGBrgb(71, 36, 118)
HSLhsl(266, 53%, 30%)
HSVhsv(266, 69%, 46%)
CMYKcmyk(39.8%, 69.5%, 0%, 53.7%)
CIE-LABlab(23.37, 34.76, -40.96)
CIE-LCHlch(23.37, 53.72, 310.32°)
OKLaboklab(35.46% 0.0647 -0.1167)
OKLCHoklch(35.46% 0.133 299)
XYZxyz(6.4986, 3.9093, 17.5482)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472476 #537624
analogous
#242A76 #472476 #702476
triadic
#472476 #764724 #247647
tetradic
#472476 #76242A #537624 #247670
square
#472476 #76242A #537624 #247670
split-complementary
#472476 #767024 #2A7624
monochromatic
#0F0718 #2B1647 #472476 #6332A5 #814CC8

Accessibility & contrast

On white

11.79
#472476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#472476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472476
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472476#FFFFFF#000000##FFFFFF
##4724761.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#3C374A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #472476;
/* rgb */ color: rgb(71, 36, 118);
/* oklch */ color: oklch(35.5% 0.133 299.0);
Tailwind
colors: {
  custom: {
    50: '#7e619e',
    500: '#472476',
    950: '#000000',
  },
}
SCSS
$custom: #472476;
$custom-light: #7e619e;
$custom-dark: #000000;
JSON
{
  "hex": "#472476",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 265.61,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35459,
    "c": 0.13347,
    "h": 299
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#472476
secondary
#82A94D
accent
#DD4B9F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #472476

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

Preview Lab → · Contrast checker → · Palette generator →

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