#471779#471779

#471779 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.153 H 300.4°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#471779
RGBrgb(71, 23, 121)
HSLhsl(269, 68%, 28%)
HSVhsv(269, 81%, 47%)
CMYKcmyk(41.3%, 81%, 0%, 52.5%)
CIE-LABlab(21.33, 42.03, -46.20)
CIE-LCHlch(21.33, 62.46, 312.30°)
OKLaboklab(34.09% 0.0775 -0.132)
OKLCHoklch(34.09% 0.153 300.4)
XYZxyz(6.3553, 3.3328, 18.3939)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471779 #497917
analogous
#171879 #471779 #781779
triadic
#471779 #794717 #177947
tetradic
#471779 #791718 #497917 #177978
square
#471779 #791718 #497917 #177978
split-complementary
#471779 #797817 #187917
monochromatic
#0F051A #290D46 #471779 #6521AC #8432D8

Accessibility & contrast

On white

12.60
#471779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471779
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471779#FFFFFF#000000##FFFFFF
##4717791.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#3B3148
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471779;
/* rgb */ color: rgb(71, 23, 121);
/* oklch */ color: oklch(34.1% 0.153 300.4);
Tailwind
colors: {
  custom: {
    50: '#805aa1',
    500: '#471779',
    950: '#000000',
  },
}
SCSS
$custom: #471779;
$custom-light: #805aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#471779",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 269.388,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34094,
    "c": 0.15309,
    "h": 300.4
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#471779
secondary
#77AE3E
accent
#EB3D96
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471779

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

Preview Lab → · Contrast checker → · Palette generator →

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