#472496#472496

#472496 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.172 H 289.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#472496
RGBrgb(71, 36, 150)
HSLhsl(258, 61%, 36%)
HSVhsv(258, 76%, 59%)
CMYKcmyk(52.7%, 76%, 0%, 41.2%)
CIE-LABlab(26.17, 43.87, -56.44)
CIE-LCHlch(26.17, 71.49, 307.85°)
OKLaboklab(38.31% 0.0581 -0.1622)
OKLCHoklch(38.31% 0.172 289.7)
XYZxyz(8.7328, 4.8030, 29.3152)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472496 #739624
analogous
#243A96 #472496 #802496
triadic
#472496 #964724 #249647
tetradic
#472496 #96243A #739624 #249680
square
#472496 #96243A #739624 #249680
split-complementary
#472496 #968024 #3A9624
monochromatic
#180C33 #301865 #472496 #5E30C7 #825CD8

Accessibility & contrast

On white

10.71
#472496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472496
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472496#FFFFFF#000000##FFFFFF
##4724961.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#2A435B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472496;
/* rgb */ color: rgb(71, 36, 150);
/* oklch */ color: oklch(38.3% 0.172 289.7);
Tailwind
colors: {
  custom: {
    50: '#8363b6',
    500: '#472496',
    950: '#000000',
  },
}
SCSS
$custom: #472496;
$custom-light: #8363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472496",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 258.421,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.17229,
    "h": 289.7
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#472496
secondary
#9EBD59
accent
#E443B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #472496

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

Preview Lab → · Contrast checker → · Palette generator →

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