#471774#471774

#471774 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.148 H 302.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#471774
RGBrgb(71, 23, 116)
HSLhsl(271, 67%, 27%)
HSVhsv(271, 80%, 45%)
CMYKcmyk(38.8%, 80.2%, 0%, 54.5%)
CIE-LABlab(20.88, 40.75, -43.73)
CIE-LCHlch(20.88, 59.77, 312.98°)
OKLaboklab(33.64% 0.0789 -0.1248)
OKLCHoklch(33.64% 0.148 302.3)
XYZxyz(6.0566, 3.2133, 16.8208)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471774 #447417
analogous
#191774 #471774 #741772
triadic
#471774 #744717 #177447
tetradic
#471774 #741917 #447417 #177274
square
#471774 #741917 #447417 #177274
split-complementary
#471774 #727417 #177419
monochromatic
#10051A #280D41 #471774 #6621A7 #8530D6

Accessibility & contrast

On white

12.78
#471774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#471774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471774
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471774#FFFFFF#000000##FFFFFF
##4717741.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3D2F45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471774;
/* rgb */ color: rgb(71, 23, 116);
/* oklch */ color: oklch(33.6% 0.148 302.3);
Tailwind
colors: {
  custom: {
    50: '#7f5a9d',
    500: '#471774',
    950: '#000000',
  },
}
SCSS
$custom: #471774;
$custom-light: #7f5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471774",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 270.968,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.14764,
    "h": 302.3
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#471774
secondary
#72A93D
accent
#EA3E91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471774

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

Preview Lab → · Contrast checker → · Palette generator →

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