#472299#472299

#472299 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 289.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#472299
RGBrgb(71, 34, 153)
HSLhsl(259, 64%, 37%)
HSVhsv(259, 78%, 60%)
CMYKcmyk(53.6%, 77.8%, 0%, 40%)
CIE-LABlab(26.11, 45.71, -58.38)
CIE-LCHlch(26.11, 74.15, 308.06°)
OKLaboklab(38.36% 0.0589 -0.1678)
OKLCHoklch(38.36% 0.178 289.3)
XYZxyz(8.9187, 4.7831, 30.5841)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472299 #749922
analogous
#223999 #472299 #832299
triadic
#472299 #994722 #229947
tetradic
#472299 #992239 #749922 #229983
square
#472299 #992239 #749922 #229983
split-complementary
#472299 #998322 #399922
monochromatic
#190C35 #301767 #472299 #5E2DCB #835BDB

Accessibility & contrast

On white

10.73
#472299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#472299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472299
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472299#FFFFFF#000000##FFFFFF
##4722991.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#28445C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472299;
/* rgb */ color: rgb(71, 34, 153);
/* oklch */ color: oklch(38.4% 0.178 289.3);
Tailwind
colors: {
  custom: {
    50: '#8462b8',
    500: '#472299',
    950: '#000000',
  },
}
SCSS
$custom: #472299;
$custom-light: #8462b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472299",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 258.655,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.17788,
    "h": 289.3
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#472299
secondary
#9FBF58
accent
#E741B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #472299

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

Preview Lab → · Contrast checker → · Palette generator →

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