#472D98#472D98

#472D98 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.164 H 287.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#472D98
RGBrgb(71, 45, 152)
HSLhsl(255, 54%, 39%)
HSVhsv(255, 70%, 60%)
CMYKcmyk(53.3%, 70.4%, 0%, 40.4%)
CIE-LABlab(28.07, 39.64, -54.56)
CIE-LCHlch(28.07, 67.44, 306.01°)
OKLaboklab(39.72% 0.0497 -0.1567)
OKLCHoklch(39.72% 0.164 287.6)
XYZxyz(9.2027, 5.4829, 30.2731)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D98 #7E982D
analogous
#2D4898 #472D98 #7C2D98
triadic
#472D98 #98472D #2D9847
tetradic
#472D98 #982D48 #7E982D #2D987C
square
#472D98 #982D48 #7E982D #2D987C
split-complementary
#472D98 #987C2D #48982D
monochromatic
#1B113A #311F69 #472D98 #5E3DC5 #856CD3

Accessibility & contrast

On white

10.02
#472D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#472D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472D98
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D98#FFFFFF#000000##FFFFFF
##472D981.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#28495F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472d98;
/* rgb */ color: rgb(71, 45, 152);
/* oklch */ color: oklch(39.7% 0.164 287.6);
Tailwind
colors: {
  custom: {
    50: '#8368b7',
    500: '#472d98',
    950: '#000000',
  },
}
SCSS
$custom: #472d98;
$custom-light: #8368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472d98",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 254.579,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.16438,
    "h": 287.6
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#472D98
secondary
#A6BA66
accent
#DE4ABA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472D98

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

Preview Lab → · Contrast checker → · Palette generator →

#472D98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva