#472891#472891

#472891 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.162 H 290.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#472891
RGBrgb(71, 40, 145)
HSLhsl(258, 57%, 36%)
HSVhsv(258, 72%, 57%)
CMYKcmyk(51%, 72.4%, 0%, 43.1%)
CIE-LABlab(26.45, 40.32, -52.90)
CIE-LCHlch(26.45, 66.51, 307.32°)
OKLaboklab(38.37% 0.0557 -0.1518)
OKLCHoklch(38.37% 0.162 290.2)
XYZxyz(8.4667, 4.9012, 27.2825)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472891 #729128
analogous
#283E91 #472891 #7C2891
triadic
#472891 #914728 #289147
tetradic
#472891 #91283E #729128 #28917C
square
#472891 #91283E #729128 #28917C
split-complementary
#472891 #917C28 #3E9128
monochromatic
#180E31 #301B61 #472891 #5E35C1 #8260D3

Accessibility & contrast

On white

10.60
#472891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#472891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472891
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472891#FFFFFF#000000##FFFFFF
##4728911.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#2E4359
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472891;
/* rgb */ color: rgb(71, 40, 145);
/* oklch */ color: oklch(38.4% 0.162 290.2);
Tailwind
colors: {
  custom: {
    50: '#8265b2',
    500: '#472891',
    950: '#000000',
  },
}
SCSS
$custom: #472891;
$custom-light: #8265b2;
$custom-dark: #000000;
JSON
{
  "hex": "#472891",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 257.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.16172,
    "h": 290.2
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472891

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

Preview Lab → · Contrast checker → · Palette generator →

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