#472579#472579

#472579 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.136 H 297.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#472579
RGBrgb(71, 37, 121)
HSLhsl(264, 53%, 31%)
HSVhsv(264, 69%, 47%)
CMYKcmyk(41.3%, 69.4%, 0%, 52.5%)
CIE-LABlab(23.81, 35.04, -42.15)
CIE-LCHlch(23.81, 54.82, 309.74°)
OKLaboklab(35.85% 0.0631 -0.1202)
OKLCHoklch(35.85% 0.136 297.7)
XYZxyz(6.7104, 4.0431, 18.5123)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472579 #577925
analogous
#252D79 #472579 #712579
triadic
#472579 #794725 #257947
tetradic
#472579 #79252D #577925 #257971
square
#472579 #79252D #577925 #257971
split-complementary
#472579 #797125 #2D7925
monochromatic
#10081B #2B174A #472579 #6333A8 #814FC9

Accessibility & contrast

On white

11.61
#472579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#472579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472579
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472579#FFFFFF#000000##FFFFFF
##4725791.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#3B394B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472579;
/* rgb */ color: rgb(71, 37, 121);
/* oklch */ color: oklch(35.9% 0.136 297.7);
Tailwind
colors: {
  custom: {
    50: '#7f62a0',
    500: '#472579',
    950: '#000000',
  },
}
SCSS
$custom: #472579;
$custom-light: #7f62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#472579",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 264.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.13581,
    "h": 297.7
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#472579
secondary
#86AB4E
accent
#DD4BA2
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #472579

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

Preview Lab → · Contrast checker → · Palette generator →

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