#471768#471768

#471768 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.135 H 307.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#471768
RGBrgb(71, 23, 104)
HSLhsl(276, 64%, 25%)
HSVhsv(276, 78%, 41%)
CMYKcmyk(31.7%, 77.9%, 0%, 59.2%)
CIE-LABlab(19.85, 37.73, -37.62)
CIE-LCHlch(19.85, 53.28, 315.08°)
OKLaboklab(32.59% 0.0818 -0.1068)
OKLCHoklch(32.59% 0.135 307.4)
XYZxyz(5.4031, 2.9519, 13.3792)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471768 #386817
analogous
#1F1768 #471768 #681760
triadic
#471768 #684717 #176847
tetradic
#471768 #681F17 #386817 #176068
square
#471768 #681F17 #386817 #176068
split-complementary
#471768 #606817 #17681F
monochromatic
#110619 #250C36 #471768 #69229A #8B2DCC

Accessibility & contrast

On white

13.20
#471768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#471768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471768
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471768#FFFFFF#000000##FFFFFF
##4717681.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#422A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471768;
/* rgb */ color: rgb(71, 23, 104);
/* oklch */ color: oklch(32.6% 0.135 307.4);
Tailwind
colors: {
  custom: {
    50: '#7e5994',
    500: '#471768',
    950: '#000000',
  },
}
SCSS
$custom: #471768;
$custom-light: #7e5994;
$custom-dark: #000000;
JSON
{
  "hex": "#471768",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 275.556,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32593,
    "c": 0.13453,
    "h": 307.4
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#471768
secondary
#649E3D
accent
#E74185
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471768

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

Preview Lab → · Contrast checker → · Palette generator →

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