#472199#472199

#472199 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.179 H 289.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#472199
RGBrgb(71, 33, 153)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 78%, 60%)
CMYKcmyk(53.6%, 78.4%, 0%, 40%)
CIE-LABlab(25.94, 46.19, -58.65)
CIE-LCHlch(25.94, 74.66, 308.22°)
OKLaboklab(38.24% 0.0596 -0.1686)
OKLCHoklch(38.24% 0.179 289.5)
XYZxyz(8.8905, 4.7268, 30.5747)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472199 #739921
analogous
#213799 #472199 #832199
triadic
#472199 #994721 #219947
tetradic
#472199 #992137 #739921 #219983
square
#472199 #992137 #739921 #219983
split-complementary
#472199 #998321 #379921
monochromatic
#180B34 #301667 #472199 #5E2CCB #8259DB

Accessibility & contrast

On white

10.79
#472199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#472199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472199
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472199#FFFFFF#000000##FFFFFF
##4721991.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#28435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472199;
/* rgb */ color: rgb(71, 33, 153);
/* oklch */ color: oklch(38.2% 0.179 289.5);
Tailwind
colors: {
  custom: {
    50: '#8461b8',
    500: '#472199',
    950: '#000000',
  },
}
SCSS
$custom: #472199;
$custom-light: #8461b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472199",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 259,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38243,
    "c": 0.17888,
    "h": 289.5
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#472199
secondary
#9EBF56
accent
#E840B3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472199

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

Preview Lab → · Contrast checker → · Palette generator →

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