#472F97#472F97

#472F97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.161 H 287.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#472F97
RGBrgb(71, 47, 151)
HSLhsl(254, 53%, 39%)
HSVhsv(254, 69%, 59%)
CMYKcmyk(53%, 68.9%, 0%, 40.8%)
CIE-LABlab(28.40, 38.20, -53.41)
CIE-LCHlch(28.40, 65.66, 305.57°)
OKLaboklab(39.93% 0.0479 -0.1533)
OKLCHoklch(39.93% 0.161 287.4)
XYZxyz(9.1993, 5.6065, 29.8696)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F97 #7F972F
analogous
#2F4B97 #472F97 #7B2F97
triadic
#472F97 #97472F #2F9747
tetradic
#472F97 #972F4B #7F972F #2F977B
square
#472F97 #972F4B #7F972F #2F977B
split-complementary
#472F97 #977B2F #4B972F
monochromatic
#1B123A #312068 #472F97 #5E40C3 #856ED2

Accessibility & contrast

On white

9.90
#472F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#472F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472F97
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F97#FFFFFF#000000##FFFFFF
##472F971.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#28495F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472f97;
/* rgb */ color: rgb(71, 47, 151);
/* oklch */ color: oklch(39.9% 0.161 287.4);
Tailwind
colors: {
  custom: {
    50: '#8269b6',
    500: '#472f97',
    950: '#000000',
  },
}
SCSS
$custom: #472f97;
$custom-light: #8269b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472f97",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 253.846,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.16064,
    "h": 287.4
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#472F97
secondary
#A7B968
accent
#DC4CBB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472F97

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

Preview Lab → · Contrast checker → · Palette generator →

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