#472C97#472C97

#472C97 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.164 H 288.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#472C97
RGBrgb(71, 44, 151)
HSLhsl(255, 55%, 38%)
HSVhsv(255, 71%, 59%)
CMYKcmyk(53%, 70.9%, 0%, 40.8%)
CIE-LABlab(27.78, 39.90, -54.42)
CIE-LCHlch(27.78, 67.48, 306.25°)
OKLaboklab(39.48% 0.0508 -0.1563)
OKLCHoklch(39.48% 0.164 288)
XYZxyz(9.0835, 5.3749, 29.8310)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C97 #7C972C
analogous
#2C4697 #472C97 #7C2C97
triadic
#472C97 #97472C #2C9747
tetradic
#472C97 #972C46 #7C972C #2C977C
square
#472C97 #972C46 #7C972C #2C977C
split-complementary
#472C97 #977C2C #46972C
monochromatic
#1A1038 #311E68 #472C97 #5E3AC6 #856AD4

Accessibility & contrast

On white

10.12
#472C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#472C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C97
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C97#FFFFFF#000000##FFFFFF
##472C971.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#29485E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472c97;
/* rgb */ color: rgb(71, 44, 151);
/* oklch */ color: oklch(39.5% 0.164 288.0);
Tailwind
colors: {
  custom: {
    50: '#8267b7',
    500: '#472c97',
    950: '#000000',
  },
}
SCSS
$custom: #472c97;
$custom-light: #8267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472c97",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 255.14,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.16435,
    "h": 288
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#472C97
secondary
#A5BA65
accent
#DE4AB9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472C97

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

Preview Lab → · Contrast checker → · Palette generator →

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