#472096#472096

#472096 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.176 H 290.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#472096
RGBrgb(71, 32, 150)
HSLhsl(260, 65%, 36%)
HSVhsv(260, 79%, 59%)
CMYKcmyk(52.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(25.49, 45.81, -57.56)
CIE-LCHlch(25.49, 73.57, 308.52°)
OKLaboklab(37.84% 0.0613 -0.1654)
OKLCHoklch(37.84% 0.176 290.3)
XYZxyz(8.6185, 4.5743, 29.2771)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472096 #6F9620
analogous
#203496 #472096 #822096
triadic
#472096 #964720 #209647
tetradic
#472096 #962034 #6F9620 #209682
square
#472096 #962034 #6F9620 #209682
split-complementary
#472096 #968220 #349620
monochromatic
#170A31 #2F1564 #472096 #5F2BC8 #8256DB

Accessibility & contrast

On white

10.97
#472096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#472096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472096
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472096#FFFFFF#000000##FFFFFF
##4720961.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#2A415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472096;
/* rgb */ color: rgb(71, 32, 150);
/* oklch */ color: oklch(37.8% 0.176 290.3);
Tailwind
colors: {
  custom: {
    50: '#8360b6',
    500: '#472096',
    950: '#000000',
  },
}
SCSS
$custom: #472096;
$custom-light: #8360b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472096",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 259.831,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.17643,
    "h": 290.3
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#472096
secondary
#9BBE53
accent
#E840B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #472096

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

Preview Lab → · Contrast checker → · Palette generator →

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