#472491#472491

#472491 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.166 H 290.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#472491
RGBrgb(71, 36, 145)
HSLhsl(259, 60%, 35%)
HSVhsv(259, 75%, 57%)
CMYKcmyk(51%, 75.2%, 0%, 43.1%)
CIE-LABlab(25.70, 42.43, -54.13)
CIE-LCHlch(25.70, 68.78, 308.10°)
OKLaboklab(37.84% 0.0594 -0.1554)
OKLCHoklch(37.84% 0.166 290.9)
XYZxyz(8.3388, 4.6453, 27.2398)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472491 #6E9124
analogous
#243791 #472491 #7D2491
triadic
#472491 #914724 #249147
tetradic
#472491 #912437 #6E9124 #24917D
square
#472491 #912437 #6E9124 #24917D
split-complementary
#472491 #917D24 #379124
monochromatic
#170C2F #2F1860 #472491 #5F30C2 #8159D6

Accessibility & contrast

On white

10.89
#472491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#472491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472491
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472491#FFFFFF#000000##FFFFFF
##4724911.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472491;
/* rgb */ color: rgb(71, 36, 145);
/* oklch */ color: oklch(37.8% 0.166 290.9);
Tailwind
colors: {
  custom: {
    50: '#8262b2',
    500: '#472491',
    950: '#000000',
  },
}
SCSS
$custom: #472491;
$custom-light: #8262b2;
$custom-dark: #000000;
JSON
{
  "hex": "#472491",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 259.266,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37841,
    "c": 0.16636,
    "h": 290.9
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#472491
secondary
#9ABA56
accent
#E344B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #472491

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

Preview Lab → · Contrast checker → · Palette generator →

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