#472E95#472E95

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

Color values

HEX#472E95
RGBrgb(71, 46, 149)
HSLhsl(255, 53%, 38%)
HSVhsv(255, 69%, 58%)
CMYKcmyk(52.3%, 69.1%, 0%, 41.6%)
CIE-LABlab(28.02, 38.17, -52.80)
CIE-LCHlch(28.02, 65.15, 305.86°)
OKLaboklab(39.6% 0.0492 -0.1516)
OKLCHoklch(39.6% 0.159 288)
XYZxyz(8.9988, 5.4631, 29.0083)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E95 #7C952E
analogous
#2E4895 #472E95 #7A2E95
triadic
#472E95 #95472E #2E9547
tetradic
#472E95 #952E48 #7C952E #2E957A
square
#472E95 #952E48 #7C952E #2E957A
split-complementary
#472E95 #957A2E #48952E
monochromatic
#1A1137 #312066 #472E95 #5E3DC3 #856CD2

Accessibility & contrast

On white

10.03
#472E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#472E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E95
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E95#FFFFFF#000000##FFFFFF
##472E951.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#2A485D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472e95;
/* rgb */ color: rgb(71, 46, 149);
/* oklch */ color: oklch(39.6% 0.159 288.0);
Tailwind
colors: {
  custom: {
    50: '#8269b5',
    500: '#472e95',
    950: '#000000',
  },
}
SCSS
$custom: #472e95;
$custom-light: #8269b5;
$custom-dark: #000000;
JSON
{
  "hex": "#472e95",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 254.563,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.15935,
    "h": 288
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#472E95
secondary
#A5B966
accent
#DC4CB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472E95

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

Preview Lab → · Contrast checker → · Palette generator →

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