#472397#472397

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

Color values

HEX#472397
RGBrgb(71, 35, 151)
HSLhsl(259, 62%, 36%)
HSVhsv(259, 77%, 59%)
CMYKcmyk(53%, 76.8%, 0%, 40.8%)
CIE-LABlab(26.09, 44.65, -57.19)
CIE-LCHlch(26.09, 72.56, 307.98°)
OKLaboklab(38.29% 0.0587 -0.1644)
OKLCHoklch(38.29% 0.175 289.6)
XYZxyz(8.7839, 4.7756, 29.7311)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472397 #739723
analogous
#233997 #472397 #812397
triadic
#472397 #974723 #239747
tetradic
#472397 #972339 #739723 #239781
square
#472397 #972339 #739723 #239781
split-complementary
#472397 #978123 #399723
monochromatic
#180C34 #301765 #472397 #5E2FC9 #825BD9

Accessibility & contrast

On white

10.74
#472397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472397
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472397#FFFFFF#000000##FFFFFF
##4723971.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#29435C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472397;
/* rgb */ color: rgb(71, 35, 151);
/* oklch */ color: oklch(38.3% 0.175 289.6);
Tailwind
colors: {
  custom: {
    50: '#8362b7',
    500: '#472397',
    950: '#000000',
  },
}
SCSS
$custom: #472397;
$custom-light: #8362b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472397",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 258.621,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.17452,
    "h": 289.6
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#472397
secondary
#9EBE58
accent
#E542B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #472397

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

Preview Lab → · Contrast checker → · Palette generator →

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