#472086#472086

#472086 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.158 H 294.6°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#472086
RGBrgb(71, 32, 134)
HSLhsl(263, 61%, 33%)
HSVhsv(263, 76%, 53%)
CMYKcmyk(47%, 76.1%, 0%, 47.5%)
CIE-LABlab(23.98, 41.34, -50.09)
CIE-LCHlch(23.98, 64.95, 309.53°)
OKLaboklab(36.32% 0.0658 -0.1435)
OKLCHoklch(36.32% 0.158 294.6)
XYZxyz(7.4170, 4.0936, 22.9490)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472086 #5F8620
analogous
#202C86 #472086 #7A2086
triadic
#472086 #864720 #208647
tetradic
#472086 #86202C #5F8620 #20867A
square
#472086 #86202C #5F8620 #20867A
split-complementary
#472086 #867A20 #2C8620
monochromatic
#130823 #2D1455 #472086 #612CB7 #804CD4

Accessibility & contrast

On white

11.55
#472086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#472086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472086
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472086#FFFFFF#000000##FFFFFF
##4720861.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#353B51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472086;
/* rgb */ color: rgb(71, 32, 134);
/* oklch */ color: oklch(36.3% 0.158 294.6);
Tailwind
colors: {
  custom: {
    50: '#8160aa',
    500: '#472086',
    950: '#000000',
  },
}
SCSS
$custom: #472086;
$custom-light: #8160aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472086",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 262.941,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.1579,
    "h": 294.6
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#472086
secondary
#8EB74B
accent
#E543A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472086

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

Preview Lab → · Contrast checker → · Palette generator →

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