#472584#472584

#472584 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.149 H 294.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#472584
RGBrgb(71, 37, 132)
HSLhsl(261, 56%, 33%)
HSVhsv(261, 72%, 52%)
CMYKcmyk(46.2%, 72%, 0%, 48.2%)
CIE-LABlab(24.73, 38.17, -47.61)
CIE-LCHlch(24.73, 61.03, 308.72°)
OKLaboklab(36.8% 0.0613 -0.1363)
OKLCHoklch(36.8% 0.149 294.2)
XYZxyz(7.4238, 4.3285, 22.2697)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472584 #628425
analogous
#253284 #472584 #762584
triadic
#472584 #844725 #258447
tetradic
#472584 #842532 #628425 #258476
square
#472584 #842532 #628425 #258476
split-complementary
#472584 #847625 #328425
monochromatic
#140A24 #2D1854 #472584 #6132B4 #8054CF

Accessibility & contrast

On white

11.26
#472584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#472584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472584
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472584#FFFFFF#000000##FFFFFF
##4725841.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#363D51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #472584;
/* rgb */ color: rgb(71, 37, 132);
/* oklch */ color: oklch(36.8% 0.149 294.2);
Tailwind
colors: {
  custom: {
    50: '#8062a9',
    500: '#472584',
    950: '#000000',
  },
}
SCSS
$custom: #472584;
$custom-light: #8062a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472584",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 261.474,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.14945,
    "h": 294.2
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#472584
secondary
#90B351
accent
#E048A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #472584

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

Preview Lab → · Contrast checker → · Palette generator →

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