#471960#471960

#471960 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.123 H 311.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#471960
RGBrgb(71, 25, 96)
HSLhsl(279, 59%, 24%)
HSVhsv(279, 74%, 38%)
CMYKcmyk(26%, 74%, 0%, 62.4%)
CIE-LABlab(19.55, 34.80, -32.83)
CIE-LCHlch(19.55, 47.85, 316.67°)
OKLaboklab(32.18% 0.0808 -0.0928)
OKLCHoklch(32.18% 0.123 311.1)
XYZxyz(5.0571, 2.8795, 11.3535)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471960 #326019
analogous
#231960 #471960 #601955
triadic
#471960 #604719 #196047
tetradic
#471960 #602319 #326019 #195560
square
#471960 #602319 #326019 #195560
split-complementary
#471960 #556019 #196023
monochromatic
#120618 #230C2F #471960 #6B2691 #8F32C1

Accessibility & contrast

On white

13.33
#471960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#471960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471960
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471960#FFFFFF#000000##FFFFFF
##4719601.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#0F305E
Tritanopia (blue-blind)
#44283A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #471960;
/* rgb */ color: rgb(71, 25, 96);
/* oklch */ color: oklch(32.2% 0.123 311.1);
Tailwind
colors: {
  custom: {
    50: '#7d5a8e',
    500: '#471960',
    950: '#000000',
  },
}
SCSS
$custom: #471960;
$custom-light: #7d5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#471960",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 278.873,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32183,
    "c": 0.12304,
    "h": 311.1
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#471960
secondary
#5D963F
accent
#E2467D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #471960

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

Preview Lab → · Contrast checker → · Palette generator →

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