#472E8E#472E8E

#472E8E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.150 H 289.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#472E8E
RGBrgb(71, 46, 142)
HSLhsl(256, 51%, 37%)
HSVhsv(256, 68%, 56%)
CMYKcmyk(50%, 67.6%, 0%, 44.3%)
CIE-LABlab(27.43, 36.04, -49.45)
CIE-LCHlch(27.43, 61.19, 306.08°)
OKLaboklab(38.99% 0.0503 -0.1417)
OKLCHoklch(38.99% 0.15 289.5)
XYZxyz(8.4566, 5.2462, 26.1530)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E8E #758E2E
analogous
#2E458E #472E8E #772E8E
triadic
#472E8E #8E472E #2E8E47
tetradic
#472E8E #8E2E45 #758E2E #2E8E77
square
#472E8E #8E2E45 #758E2E #2E8E77
split-complementary
#472E8E #8E772E #458E2E
monochromatic
#191032 #301F60 #472E8E #5E3DBC #8368CE

Accessibility & contrast

On white

10.25
#472E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#472E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E8E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E8E#FFFFFF#000000##FFFFFF
##472E8E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#2F465A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #472e8e;
/* rgb */ color: rgb(71, 46, 142);
/* oklch */ color: oklch(39.0% 0.150 289.5);
Tailwind
colors: {
  custom: {
    50: '#8168b0',
    500: '#472e8e',
    950: '#000000',
  },
}
SCSS
$custom: #472e8e;
$custom-light: #8168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#472e8e",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 255.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38991,
    "c": 0.15036,
    "h": 289.5
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#472E8E
secondary
#A0B563
accent
#DB4DB6
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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