#472196#472196

#472196 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.175 H 290.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#472196
RGBrgb(71, 33, 150)
HSLhsl(259, 64%, 36%)
HSVhsv(259, 78%, 59%)
CMYKcmyk(52.7%, 78%, 0%, 41.2%)
CIE-LABlab(25.65, 45.34, -57.29)
CIE-LCHlch(25.65, 73.06, 308.36°)
OKLaboklab(37.95% 0.0605 -0.1646)
OKLCHoklch(37.95% 0.175 290.2)
XYZxyz(8.6458, 4.6289, 29.2862)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472196 #709621
analogous
#213696 #472196 #812196
triadic
#472196 #964721 #219647
tetradic
#472196 #962136 #709621 #219681
square
#472196 #962136 #709621 #219681
split-complementary
#472196 #968121 #369621
monochromatic
#180B32 #2F1664 #472196 #5F2CC8 #8257DA

Accessibility & contrast

On white

10.90
#472196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472196
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472196#FFFFFF#000000##FFFFFF
##4721961.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.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: #472196;
/* rgb */ color: rgb(71, 33, 150);
/* oklch */ color: oklch(38.0% 0.175 290.2);
Tailwind
colors: {
  custom: {
    50: '#8361b6',
    500: '#472196',
    950: '#000000',
  },
}
SCSS
$custom: #472196;
$custom-light: #8361b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472196",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 259.487,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.17542,
    "h": 290.2
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#472196
secondary
#9CBE55
accent
#E741B1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472196

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

Preview Lab → · Contrast checker → · Palette generator →

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