#472292#472292

#472292 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.170 H 291.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#472292
RGBrgb(71, 34, 146)
HSLhsl(260, 62%, 35%)
HSVhsv(260, 77%, 57%)
CMYKcmyk(51.4%, 76.7%, 0%, 42.7%)
CIE-LABlab(25.44, 43.73, -55.17)
CIE-LCHlch(25.44, 70.40, 308.40°)
OKLaboklab(37.69% 0.0609 -0.1584)
OKLCHoklch(37.69% 0.17 291)
XYZxyz(8.3574, 4.5586, 27.6281)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472292 #6D9222
analogous
#223592 #472292 #7F2292
triadic
#472292 #924722 #229247
tetradic
#472292 #922235 #6D9222 #22927F
square
#472292 #922235 #6D9222 #22927F
split-complementary
#472292 #927F22 #359222
monochromatic
#170B2F #2F1660 #472292 #5F2EC4 #8157D8

Accessibility & contrast

On white

10.98
#472292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472292
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472292#FFFFFF#000000##FFFFFF
##4722921.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#2D4158
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472292;
/* rgb */ color: rgb(71, 34, 146);
/* oklch */ color: oklch(37.7% 0.170 291.0);
Tailwind
colors: {
  custom: {
    50: '#8261b3',
    500: '#472292',
    950: '#000000',
  },
}
SCSS
$custom: #472292;
$custom-light: #8261b3;
$custom-dark: #000000;
JSON
{
  "hex": "#472292",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 259.821,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.16973,
    "h": 291
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#472292
secondary
#9ABC54
accent
#E543B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #472292

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

Preview Lab → · Contrast checker → · Palette generator →

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