#472396#472396

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

Color values

HEX#472396
RGBrgb(71, 35, 150)
HSLhsl(259, 62%, 36%)
HSVhsv(259, 77%, 59%)
CMYKcmyk(52.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(25.99, 44.37, -56.73)
CIE-LCHlch(25.99, 72.02, 308.03°)
OKLaboklab(38.19% 0.0589 -0.163)
OKLCHoklch(38.19% 0.173 289.9)
XYZxyz(8.7030, 4.7433, 29.3052)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472396 #729623
analogous
#233996 #472396 #812396
triadic
#472396 #964723 #239647
tetradic
#472396 #962339 #729623 #239681
square
#472396 #962339 #729623 #239681
split-complementary
#472396 #968123 #399623
monochromatic
#180C33 #301764 #472396 #5E2FC8 #825BD9

Accessibility & contrast

On white

10.78
#472396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472396
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472396#FFFFFF#000000##FFFFFF
##4723961.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.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: #472396;
/* rgb */ color: rgb(71, 35, 150);
/* oklch */ color: oklch(38.2% 0.173 289.9);
Tailwind
colors: {
  custom: {
    50: '#8362b6',
    500: '#472396',
    950: '#000000',
  },
}
SCSS
$custom: #472396;
$custom-light: #8362b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472396",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 258.783,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.17335,
    "h": 289.9
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#472396
secondary
#9DBD58
accent
#E543B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #472396

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

Preview Lab → · Contrast checker → · Palette generator →

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