#47177A#47177A

#47177A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.154 H 300.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#47177A
RGBrgb(71, 23, 122)
HSLhsl(269, 68%, 28%)
HSVhsv(269, 81%, 48%)
CMYKcmyk(41.8%, 81.1%, 0%, 52.2%)
CIE-LABlab(21.42, 42.29, -46.69)
CIE-LCHlch(21.42, 62.99, 312.17°)
OKLaboklab(34.19% 0.0772 -0.1335)
OKLCHoklch(34.19% 0.154 300)
XYZxyz(6.4169, 3.3575, 18.7186)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47177A #4A7A17
analogous
#17187A #47177A #78177A
triadic
#47177A #7A4717 #177A47
tetradic
#47177A #7A1718 #4A7A17 #177A78
square
#47177A #7A1718 #4A7A17 #177A78
split-complementary
#47177A #7A7817 #187A17
monochromatic
#0F051A #290D47 #47177A #6521AD #8333D9

Accessibility & contrast

On white

12.56
#47177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#47177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47177A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47177A#FFFFFF#000000##FFFFFF
##47177A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#3B3248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47177a;
/* rgb */ color: rgb(71, 23, 122);
/* oklch */ color: oklch(34.2% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#805aa1',
    500: '#47177a',
    950: '#000000',
  },
}
SCSS
$custom: #47177a;
$custom-light: #805aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#47177a",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 269.091,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.15417,
    "h": 300
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#47177A
secondary
#78AF3E
accent
#EB3D97
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47177A

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

Preview Lab → · Contrast checker → · Palette generator →

#47177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva