#471162#471162

#471162 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.135 H 311.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#471162
RGBrgb(71, 17, 98)
HSLhsl(280, 70%, 23%)
HSVhsv(280, 83%, 38%)
CMYKcmyk(27.6%, 82.7%, 0%, 61.6%)
CIE-LABlab(18.46, 38.84, -35.92)
CIE-LCHlch(18.46, 52.90, 317.23°)
OKLaboklab(31.46% 0.089 -0.1018)
OKLCHoklch(31.46% 0.135 311.2)
XYZxyz(5.0032, 2.6225, 11.7955)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471162 #2C6211
analogous
#1E1162 #471162 #621155
triadic
#471162 #624711 #116247
tetradic
#471162 #621E11 #2C6211 #115562
square
#471162 #621E11 #2C6211 #115562
split-complementary
#471162 #556211 #11621E
monochromatic
#13051A #21082E #471162 #6D1A96 #9323CA

Accessibility & contrast

On white

13.78
#471162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#471162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471162
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471162#FFFFFF#000000##FFFFFF
##4711621.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002E60
Tritanopia (blue-blind)
#432539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #471162;
/* rgb */ color: rgb(71, 17, 98);
/* oklch */ color: oklch(31.5% 0.135 311.2);
Tailwind
colors: {
  custom: {
    50: '#7e568f',
    500: '#471162',
    950: '#000000',
  },
}
SCSS
$custom: #471162;
$custom-light: #7e568f;
$custom-dark: #000000;
JSON
{
  "hex": "#471162",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 280,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3146,
    "c": 0.13525,
    "h": 311.2
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#471162
secondary
#569A34
accent
#ED3B76
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #471162

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

Preview Lab → · Contrast checker → · Palette generator →

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