#472386#472386

#472386 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.154 H 294.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#472386
RGBrgb(71, 35, 134)
HSLhsl(262, 59%, 33%)
HSVhsv(262, 74%, 53%)
CMYKcmyk(47%, 73.9%, 0%, 47.5%)
CIE-LABlab(24.52, 39.81, -49.21)
CIE-LCHlch(24.52, 63.30, 308.97°)
OKLaboklab(36.7% 0.0629 -0.141)
OKLCHoklch(36.7% 0.154 294.1)
XYZxyz(7.5015, 4.2627, 22.9772)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472386 #628623
analogous
#233086 #472386 #782386
triadic
#472386 #864723 #238647
tetradic
#472386 #862330 #628623 #238678
square
#472386 #862330 #628623 #238678
split-complementary
#472386 #867823 #308623
monochromatic
#140A25 #2D1655 #472386 #6130B7 #8052D2

Accessibility & contrast

On white

11.34
#472386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#472386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472386
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472386#FFFFFF#000000##FFFFFF
##4723861.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#353C52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472386;
/* rgb */ color: rgb(71, 35, 134);
/* oklch */ color: oklch(36.7% 0.154 294.1);
Tailwind
colors: {
  custom: {
    50: '#8161aa',
    500: '#472386',
    950: '#000000',
  },
}
SCSS
$custom: #472386;
$custom-light: #8161aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472386",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 261.818,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36701,
    "c": 0.15436,
    "h": 294.1
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#472386
secondary
#90B54F
accent
#E246A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472386

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

Preview Lab → · Contrast checker → · Palette generator →

#472386 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva