#472A92#472A92

#472A92 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.161 H 289.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#472A92
RGBrgb(71, 42, 146)
HSLhsl(257, 55%, 37%)
HSVhsv(257, 71%, 57%)
CMYKcmyk(51.4%, 71.2%, 0%, 42.7%)
CIE-LABlab(26.93, 39.52, -52.72)
CIE-LCHlch(26.93, 65.89, 306.86°)
OKLaboklab(38.75% 0.0536 -0.1513)
OKLCHoklch(38.75% 0.161 289.5)
XYZxyz(8.6133, 5.0705, 27.7134)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A92 #75922A
analogous
#2A4192 #472A92 #7B2A92
triadic
#472A92 #92472A #2A9247
tetradic
#472A92 #922A41 #75922A #2A927B
square
#472A92 #922A41 #75922A #2A927B
split-complementary
#472A92 #927B2A #41922A
monochromatic
#190F33 #301C62 #472A92 #5E38C2 #8364D2

Accessibility & contrast

On white

10.43
#472A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#472A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A92
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A92#FFFFFF#000000##FFFFFF
##472A921.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#2D455B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472a92;
/* rgb */ color: rgb(71, 42, 146);
/* oklch */ color: oklch(38.7% 0.161 289.5);
Tailwind
colors: {
  custom: {
    50: '#8266b3',
    500: '#472a92',
    950: '#000000',
  },
}
SCSS
$custom: #472a92;
$custom-light: #8266b3;
$custom-dark: #000000;
JSON
{
  "hex": "#472a92",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 256.731,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.16053,
    "h": 289.5
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#472A92
secondary
#A0B85F
accent
#DF49B5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472A92

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

Preview Lab → · Contrast checker → · Palette generator →

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