#472F95#472F95

#472F95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.158 H 287.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#472F95
RGBrgb(71, 47, 149)
HSLhsl(254, 52%, 38%)
HSVhsv(254, 68%, 58%)
CMYKcmyk(52.3%, 68.5%, 0%, 41.6%)
CIE-LABlab(28.23, 37.59, -52.46)
CIE-LCHlch(28.23, 64.53, 305.62°)
OKLaboklab(39.75% 0.0482 -0.1505)
OKLCHoklch(39.75% 0.158 287.8)
XYZxyz(9.0383, 5.5421, 29.0214)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F95 #7D952F
analogous
#2F4A95 #472F95 #7A2F95
triadic
#472F95 #95472F #2F9547
tetradic
#472F95 #952F4A #7D952F #2F957A
square
#472F95 #952F4A #7D952F #2F957A
split-complementary
#472F95 #957A2F #4A952F
monochromatic
#1B1238 #312066 #472F95 #5E3FC2 #856DD1

Accessibility & contrast

On white

9.96
#472F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#472F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472F95
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F95#FFFFFF#000000##FFFFFF
##472F951.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#2A495E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472f95;
/* rgb */ color: rgb(71, 47, 149);
/* oklch */ color: oklch(39.8% 0.158 287.8);
Tailwind
colors: {
  custom: {
    50: '#8269b5',
    500: '#472f95',
    950: '#000000',
  },
}
SCSS
$custom: #472f95;
$custom-light: #8269b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472f95",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 254.118,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.15809,
    "h": 287.8
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472F95

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

Preview Lab → · Contrast checker → · Palette generator →

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