#471167#471167

#471167 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.140 H 308.7°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#471167
RGBrgb(71, 17, 103)
HSLhsl(278, 72%, 24%)
HSVhsv(278, 83%, 40%)
CMYKcmyk(31.1%, 83.5%, 0%, 59.6%)
CIE-LABlab(18.89, 40.01, -38.53)
CIE-LCHlch(18.89, 55.55, 316.08°)
OKLaboklab(31.89% 0.0878 -0.1095)
OKLCHoklch(31.89% 0.14 308.7)
XYZxyz(5.2467, 2.7199, 13.0779)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471167 #316711
analogous
#1C1167 #471167 #67115C
triadic
#471167 #674711 #116747
tetradic
#471167 #671C11 #316711 #115C67
square
#471167 #671C11 #316711 #115C67
split-complementary
#471167 #5C6711 #11671C
monochromatic
#12041A #230832 #471167 #6B1A9C #8F22D0

Accessibility & contrast

On white

13.60
#471167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#471167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471167
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471167#FFFFFF#000000##FFFFFF
##4711671.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#42273C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471167;
/* rgb */ color: rgb(71, 17, 103);
/* oklch */ color: oklch(31.9% 0.140 308.7);
Tailwind
colors: {
  custom: {
    50: '#7e5793',
    500: '#471167',
    950: '#000000',
  },
}
SCSS
$custom: #471167;
$custom-light: #7e5793;
$custom-dark: #000000;
JSON
{
  "hex": "#471167",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 277.674,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.14035,
    "h": 308.7
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#471167
secondary
#5C9F35
accent
#EE397D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #471167

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

Preview Lab → · Contrast checker → · Palette generator →

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