#472291#472291

#472291 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.169 H 291.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#472291
RGBrgb(71, 34, 145)
HSLhsl(260, 62%, 35%)
HSVhsv(260, 77%, 57%)
CMYKcmyk(51%, 76.6%, 0%, 43.1%)
CIE-LABlab(25.34, 43.44, -54.71)
CIE-LCHlch(25.34, 69.86, 308.45°)
OKLaboklab(37.59% 0.0611 -0.1571)
OKLCHoklch(37.59% 0.169 291.3)
XYZxyz(8.2799, 4.5277, 27.2202)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472291 #6C9122
analogous
#223591 #472291 #7E2291
triadic
#472291 #914722 #229147
tetradic
#472291 #912235 #6C9122 #22917E
square
#472291 #912235 #6C9122 #22917E
split-complementary
#472291 #917E22 #359122
monochromatic
#160B2E #2F165F #472291 #5F2EC3 #8156D7

Accessibility & contrast

On white

11.02
#472291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#472291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472291
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472291#FFFFFF#000000##FFFFFF
##4722911.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#2E4058
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472291;
/* rgb */ color: rgb(71, 34, 145);
/* oklch */ color: oklch(37.6% 0.169 291.3);
Tailwind
colors: {
  custom: {
    50: '#8261b2',
    500: '#472291',
    950: '#000000',
  },
}
SCSS
$custom: #472291;
$custom-light: #8261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#472291",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 260,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.16856,
    "h": 291.3
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#472291
secondary
#99BB53
accent
#E543AF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #472291

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

Preview Lab → · Contrast checker → · Palette generator →

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