#472F94#472F94

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

Color values

HEX#472F94
RGBrgb(71, 47, 148)
HSLhsl(254, 52%, 38%)
HSVhsv(254, 68%, 58%)
CMYKcmyk(52%, 68.2%, 0%, 42%)
CIE-LABlab(28.14, 37.28, -51.98)
CIE-LCHlch(28.14, 63.97, 305.65°)
OKLaboklab(39.66% 0.0484 -0.1491)
OKLCHoklch(39.66% 0.157 288)
XYZxyz(8.9588, 5.5103, 28.6028)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F94 #7C942F
analogous
#2F4A94 #472F94 #792F94
triadic
#472F94 #94472F #2F9447
tetradic
#472F94 #942F4A #7C942F #2F9479
square
#472F94 #942F4A #7C942F #2F9479
split-complementary
#472F94 #94792F #4A942F
monochromatic
#1A1137 #312066 #472F94 #5E3EC2 #856DD1

Accessibility & contrast

On white

9.99
#472F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472F94
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F94#FFFFFF#000000##FFFFFF
##472F941.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#2B485D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472f94;
/* rgb */ color: rgb(71, 47, 148);
/* oklch */ color: oklch(39.7% 0.157 288.0);
Tailwind
colors: {
  custom: {
    50: '#8269b4',
    500: '#472f94',
    950: '#000000',
  },
}
SCSS
$custom: #472f94;
$custom-light: #8269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#472f94",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 254.257,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39663,
    "c": 0.1568,
    "h": 288
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#472F94
secondary
#A5B867
accent
#DB4DB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472F94

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

Preview Lab → · Contrast checker → · Palette generator →

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