#471168#471168

#471168 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.141 H 308.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#471168
RGBrgb(71, 17, 104)
HSLhsl(277, 72%, 24%)
HSVhsv(277, 84%, 41%)
CMYKcmyk(31.7%, 83.7%, 0%, 59.2%)
CIE-LABlab(18.97, 40.25, -39.05)
CIE-LCHlch(18.97, 56.08, 315.87°)
OKLaboklab(31.98% 0.0876 -0.111)
OKLCHoklch(31.98% 0.141 308.3)
XYZxyz(5.2971, 2.7401, 13.3438)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471168 #326811
analogous
#1B1168 #471168 #68115D
triadic
#471168 #684711 #116847
tetradic
#471168 #681B11 #326811 #115D68
square
#471168 #681B11 #326811 #115D68
split-complementary
#471168 #5D6811 #11681B
monochromatic
#12041A #230833 #471168 #6B1A9D #8F22D1

Accessibility & contrast

On white

13.57
#471168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#471168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471168
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471168#FFFFFF#000000##FFFFFF
##4711681.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#42273D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471168;
/* rgb */ color: rgb(71, 17, 104);
/* oklch */ color: oklch(32.0% 0.141 308.3);
Tailwind
colors: {
  custom: {
    50: '#7e5794',
    500: '#471168',
    950: '#000000',
  },
}
SCSS
$custom: #471168;
$custom-light: #7e5794;
$custom-dark: #000000;
JSON
{
  "hex": "#471168",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 277.241,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.14136,
    "h": 308.3
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#471168
secondary
#5DA035
accent
#EF397E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #471168

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

Preview Lab → · Contrast checker → · Palette generator →

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