#472890#472890

#472890 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.160 H 290.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#472890
RGBrgb(71, 40, 144)
HSLhsl(258, 57%, 36%)
HSVhsv(258, 72%, 56%)
CMYKcmyk(50.7%, 72.2%, 0%, 43.5%)
CIE-LABlab(26.36, 40.03, -52.42)
CIE-LCHlch(26.36, 65.96, 307.36°)
OKLaboklab(38.28% 0.0559 -0.1504)
OKLCHoklch(38.28% 0.16 290.4)
XYZxyz(8.3899, 4.8705, 26.8782)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472890 #719028
analogous
#283D90 #472890 #7B2890
triadic
#472890 #904728 #289047
tetradic
#472890 #90283D #719028 #28907B
square
#472890 #90283D #719028 #28907B
split-complementary
#472890 #907B28 #3D9028
monochromatic
#180D30 #2F1B60 #472890 #5F35C0 #8260D3

Accessibility & contrast

On white

10.64
#472890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#472890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472890
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472890#FFFFFF#000000##FFFFFF
##4728901.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#2E4359
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472890;
/* rgb */ color: rgb(71, 40, 144);
/* oklch */ color: oklch(38.3% 0.160 290.4);
Tailwind
colors: {
  custom: {
    50: '#8265b1',
    500: '#472890',
    950: '#000000',
  },
}
SCSS
$custom: #472890;
$custom-light: #8265b1;
$custom-dark: #000000;
JSON
{
  "hex": "#472890",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 257.885,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38283,
    "c": 0.16049,
    "h": 290.4
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#472890
secondary
#9DB85C
accent
#E048B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472890

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

Preview Lab → · Contrast checker → · Palette generator →

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