#472286#472286

#472286 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.156 H 294.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#472286
RGBrgb(71, 34, 134)
HSLhsl(262, 60%, 33%)
HSVhsv(262, 75%, 53%)
CMYKcmyk(47%, 74.6%, 0%, 47.5%)
CIE-LABlab(24.34, 40.33, -49.51)
CIE-LCHlch(24.34, 63.86, 309.17°)
OKLaboklab(36.57% 0.0639 -0.1418)
OKLCHoklch(36.57% 0.156 294.2)
XYZxyz(7.4725, 4.2047, 22.9675)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472286 #618622
analogous
#222F86 #472286 #792286
triadic
#472286 #864722 #228647
tetradic
#472286 #86222F #618622 #228679
square
#472286 #86222F #618622 #228679
split-complementary
#472286 #867922 #2F8622
monochromatic
#130924 #2D1655 #472286 #612EB7 #8050D3

Accessibility & contrast

On white

11.41
#472286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#472286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472286
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472286#FFFFFF#000000##FFFFFF
##4722861.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472286;
/* rgb */ color: rgb(71, 34, 134);
/* oklch */ color: oklch(36.6% 0.156 294.2);
Tailwind
colors: {
  custom: {
    50: '#8161aa',
    500: '#472286',
    950: '#000000',
  },
}
SCSS
$custom: #472286;
$custom-light: #8161aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472286",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 262.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.15556,
    "h": 294.2
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#472286
secondary
#8FB64E
accent
#E345A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472286

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

Preview Lab → · Contrast checker → · Palette generator →

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