#472495#472495

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

Color values

HEX#472495
RGBrgb(71, 36, 149)
HSLhsl(259, 61%, 36%)
HSVhsv(259, 76%, 58%)
CMYKcmyk(52.3%, 75.8%, 0%, 41.6%)
CIE-LABlab(26.07, 43.58, -55.98)
CIE-LCHlch(26.07, 70.95, 307.90°)
OKLaboklab(38.22% 0.0584 -0.1608)
OKLCHoklch(38.22% 0.171 289.9)
XYZxyz(8.6527, 4.7709, 28.8929)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472495 #729524
analogous
#243A95 #472495 #802495
triadic
#472495 #954724 #249547
tetradic
#472495 #95243A #729524 #249580
square
#472495 #95243A #729524 #249580
split-complementary
#472495 #958024 #3A9524
monochromatic
#180C32 #301864 #472495 #5E30C6 #825CD8

Accessibility & contrast

On white

10.75
#472495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472495
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472495#FFFFFF#000000##FFFFFF
##4724951.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#2B435B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472495;
/* rgb */ color: rgb(71, 36, 149);
/* oklch */ color: oklch(38.2% 0.171 289.9);
Tailwind
colors: {
  custom: {
    50: '#8363b5',
    500: '#472495',
    950: '#000000',
  },
}
SCSS
$custom: #472495;
$custom-light: #8363b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472495",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 258.584,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.1711,
    "h": 289.9
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#472495
secondary
#9DBC59
accent
#E444B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #472495

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

Preview Lab → · Contrast checker → · Palette generator →

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