#4717A1#4717A1

#4717A1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.1% C 0.196 H 288.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4717A1
RGBrgb(71, 23, 161)
HSLhsl(261, 75%, 36%)
HSVhsv(261, 86%, 63%)
CMYKcmyk(55.9%, 85.7%, 0%, 36.9%)
CIE-LABlab(25.34, 52.52, -64.54)
CIE-LCHlch(25.34, 83.21, 309.14°)
OKLaboklab(38.07% 0.0633 -0.1857)
OKLCHoklch(38.07% 0.196 288.8)
XYZxyz(9.3361, 4.5251, 34.0928)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4717A1 #71A117
analogous
#172CA1 #4717A1 #8C17A1
triadic
#4717A1 #A14717 #17A147
tetradic
#4717A1 #A1172C #71A117 #17A18C
square
#4717A1 #A1172C #71A117 #17A18C
split-complementary
#4717A1 #A18C17 #2CA117
monochromatic
#180836 #2F0F6B #4717A1 #5F1FD7 #824DE6

Accessibility & contrast

On white

11.02
#4717A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4717A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4717A1
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4717A1#FFFFFF#000000##FFFFFF
##4717A11.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#20435F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4717a1;
/* rgb */ color: rgb(71, 23, 161);
/* oklch */ color: oklch(38.1% 0.196 288.8);
Tailwind
colors: {
  custom: {
    50: '#865dbe',
    500: '#4717a1',
    950: '#000000',
  },
}
SCSS
$custom: #4717a1;
$custom-light: #865dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4717a1",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 260.87,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3807,
    "c": 0.19621,
    "h": 288.8
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#4717A1
secondary
#9DC74C
accent
#F236B0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4717A1

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

Preview Lab → · Contrast checker → · Palette generator →

#4717A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva