#472596#472596

#472596 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.171 H 289.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#472596
RGBrgb(71, 37, 150)
HSLhsl(258, 60%, 37%)
HSVhsv(258, 75%, 59%)
CMYKcmyk(52.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(26.34, 43.36, -56.15)
CIE-LCHlch(26.34, 70.95, 307.68°)
OKLaboklab(38.44% 0.0573 -0.1613)
OKLCHoklch(38.44% 0.171 289.5)
XYZxyz(8.7635, 4.8643, 29.3254)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472596 #749625
analogous
#253C96 #472596 #802596
triadic
#472596 #964725 #259647
tetradic
#472596 #96253C #749625 #259680
square
#472596 #96253C #749625 #259680
split-complementary
#472596 #968025 #3C9625
monochromatic
#190D34 #301965 #472596 #5E31C7 #835ED7

Accessibility & contrast

On white

10.64
#472596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#472596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472596
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472596#FFFFFF#000000##FFFFFF
##4725961.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472596;
/* rgb */ color: rgb(71, 37, 150);
/* oklch */ color: oklch(38.4% 0.171 289.5);
Tailwind
colors: {
  custom: {
    50: '#8363b6',
    500: '#472596',
    950: '#000000',
  },
}
SCSS
$custom: #472596;
$custom-light: #8363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472596",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 258.053,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.1712,
    "h": 289.5
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#472596
secondary
#9FBC5B
accent
#E444B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #472596

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

Preview Lab → · Contrast checker → · Palette generator →

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