#471979#471979

#471979 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.151 H 300.1°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#471979
RGBrgb(71, 25, 121)
HSLhsl(269, 66%, 29%)
HSVhsv(269, 79%, 47%)
CMYKcmyk(41.3%, 79.3%, 0%, 52.5%)
CIE-LABlab(21.64, 41.16, -45.70)
CIE-LCHlch(21.64, 61.50, 312.01°)
OKLaboklab(34.31% 0.0757 -0.1306)
OKLCHoklch(34.31% 0.151 300.1)
XYZxyz(6.3965, 3.4153, 18.4077)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471979 #4B7919
analogous
#191B79 #471979 #771979
triadic
#471979 #794719 #197947
tetradic
#471979 #79191B #4B7919 #197977
square
#471979 #79191B #4B7919 #197977
split-complementary
#471979 #797719 #1B7919
monochromatic
#0F0519 #290F46 #471979 #6523AC #8337D6

Accessibility & contrast

On white

12.48
#471979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#471979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471979
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471979#FFFFFF#000000##FFFFFF
##4719791.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3B3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471979;
/* rgb */ color: rgb(71, 25, 121);
/* oklch */ color: oklch(34.3% 0.151 300.1);
Tailwind
colors: {
  custom: {
    50: '#805ba1',
    500: '#471979',
    950: '#000000',
  },
}
SCSS
$custom: #471979;
$custom-light: #805ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#471979",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 268.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34308,
    "c": 0.15093,
    "h": 300.1
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#471979
secondary
#79AE40
accent
#E93F97
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471979

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

Preview Lab → · Contrast checker → · Palette generator →

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