#472591#472591

#472591 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.165 H 290.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#472591
RGBrgb(71, 37, 145)
HSLhsl(259, 59%, 36%)
HSVhsv(259, 74%, 57%)
CMYKcmyk(51%, 74.5%, 0%, 43.1%)
CIE-LABlab(25.88, 41.92, -53.83)
CIE-LCHlch(25.88, 68.22, 307.91°)
OKLaboklab(37.97% 0.0585 -0.1545)
OKLCHoklch(37.97% 0.165 290.7)
XYZxyz(8.3695, 4.7067, 27.2501)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472591 #6F9125
analogous
#253991 #472591 #7D2591
triadic
#472591 #914725 #259147
tetradic
#472591 #912539 #6F9125 #25917D
square
#472591 #912539 #6F9125 #25917D
split-complementary
#472591 #917D25 #399125
monochromatic
#170C2F #2F1960 #472591 #5F31C2 #825BD5

Accessibility & contrast

On white

10.82
#472591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#472591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472591
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472591#FFFFFF#000000##FFFFFF
##4725911.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#2E4259
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472591;
/* rgb */ color: rgb(71, 37, 145);
/* oklch */ color: oklch(38.0% 0.165 290.7);
Tailwind
colors: {
  custom: {
    50: '#8263b2',
    500: '#472591',
    950: '#000000',
  },
}
SCSS
$custom: #472591;
$custom-light: #8263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#472591",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 258.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3797,
    "c": 0.16523,
    "h": 290.7
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#472591
secondary
#9BBA58
accent
#E345B1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #472591

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

Preview Lab → · Contrast checker → · Palette generator →

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