#472986#472986

#472986 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.147 H 292.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#472986
RGBrgb(71, 41, 134)
HSLhsl(259, 53%, 34%)
HSVhsv(259, 69%, 53%)
CMYKcmyk(47%, 69.4%, 0%, 47.5%)
CIE-LABlab(25.70, 36.53, -47.28)
CIE-LCHlch(25.70, 59.75, 307.69°)
OKLaboklab(37.54% 0.0567 -0.1353)
OKLCHoklch(37.54% 0.147 292.7)
XYZxyz(7.6934, 4.6465, 23.0411)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472986 #688629
analogous
#293A86 #472986 #762986
triadic
#472986 #864729 #298647
tetradic
#472986 #86293A #688629 #298676
square
#472986 #86293A #688629 #298676
split-complementary
#472986 #867629 #3A8629
monochromatic
#150C28 #2E1B57 #472986 #6037B5 #815CCD

Accessibility & contrast

On white

10.88
#472986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#472986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472986
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472986#FFFFFF#000000##FFFFFF
##4729861.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#344054
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472986;
/* rgb */ color: rgb(71, 41, 134);
/* oklch */ color: oklch(37.5% 0.147 292.7);
Tailwind
colors: {
  custom: {
    50: '#8065aa',
    500: '#472986',
    950: '#000000',
  },
}
SCSS
$custom: #472986;
$custom-light: #8065aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472986",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 259.355,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.14673,
    "h": 292.7
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#472986
secondary
#95B358
accent
#DD4BAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472986

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

Preview Lab → · Contrast checker → · Palette generator →

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