#472F92#472F92

#472F92 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.154 H 288.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#472F92
RGBrgb(71, 47, 146)
HSLhsl(255, 51%, 38%)
HSVhsv(255, 68%, 57%)
CMYKcmyk(51.4%, 67.8%, 0%, 42.7%)
CIE-LABlab(27.97, 36.67, -51.03)
CIE-LCHlch(27.97, 62.84, 305.70°)
OKLaboklab(39.49% 0.0487 -0.1463)
OKLCHoklch(39.49% 0.154 288.4)
XYZxyz(8.8018, 5.4476, 27.7763)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472F92 #7A922F
analogous
#2F4992 #472F92 #782F92
triadic
#472F92 #92472F #2F9247
tetradic
#472F92 #922F49 #7A922F #2F9278
square
#472F92 #922F49 #7A922F #2F9278
split-complementary
#472F92 #92782F #49922F
monochromatic
#1A1135 #302064 #472F92 #5E3EC0 #846CD0

Accessibility & contrast

On white

10.05
#472F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472F92
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472F92#FFFFFF#000000##FFFFFF
##472F921.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#2C485C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472f92;
/* rgb */ color: rgb(71, 47, 146);
/* oklch */ color: oklch(39.5% 0.154 288.4);
Tailwind
colors: {
  custom: {
    50: '#8169b3',
    500: '#472f92',
    950: '#000000',
  },
}
SCSS
$custom: #472f92;
$custom-light: #8169b3;
$custom-dark: #000000;
JSON
{
  "hex": "#472f92",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 254.545,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.15422,
    "h": 288.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#472F92
secondary
#A3B766
accent
#DB4DB8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472F92

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

Preview Lab → · Contrast checker → · Palette generator →

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