#472296#472296

#472296 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.174 H 290.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#472296
RGBrgb(71, 34, 150)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 59%)
CMYKcmyk(52.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(25.82, 44.86, -57.01)
CIE-LCHlch(25.82, 72.55, 308.20°)
OKLaboklab(38.07% 0.0597 -0.1638)
OKLCHoklch(38.07% 0.174 290)
XYZxyz(8.6740, 4.6853, 29.2956)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472296 #719622
analogous
#223796 #472296 #812296
triadic
#472296 #964722 #229647
tetradic
#472296 #962237 #719622 #229681
square
#472296 #962237 #719622 #229681
split-complementary
#472296 #968122 #379622
monochromatic
#180B32 #2F1764 #472296 #5F2DC8 #8259D9

Accessibility & contrast

On white

10.84
#472296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472296
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472296#FFFFFF#000000##FFFFFF
##4722961.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#2A425B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472296;
/* rgb */ color: rgb(71, 34, 150);
/* oklch */ color: oklch(38.1% 0.174 290.0);
Tailwind
colors: {
  custom: {
    50: '#8362b6',
    500: '#472296',
    950: '#000000',
  },
}
SCSS
$custom: #472296;
$custom-light: #8362b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472296",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 259.138,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.1744,
    "h": 290
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#472296
secondary
#9DBE56
accent
#E642B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472296

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

Preview Lab → · Contrast checker → · Palette generator →

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