#6717A1#6717A1

#6717A1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.199 H 304.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6717A1
RGBrgb(103, 23, 161)
HSLhsl(275, 75%, 36%)
HSVhsv(275, 86%, 63%)
CMYKcmyk(36%, 85.7%, 0%, 36.9%)
CIE-LABlab(29.59, 56.62, -57.40)
CIE-LCHlch(29.59, 80.63, 314.61°)
OKLaboklab(41.92% 0.1135 -0.1638)
OKLCHoklch(41.92% 0.199 304.7)
XYZxyz(12.3315, 6.0696, 34.2332)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6717A1 #51A117
analogous
#2217A1 #6717A1 #A11796
triadic
#6717A1 #A16717 #17A167
tetradic
#6717A1 #A12217 #51A117 #1796A1
square
#6717A1 #A12217 #51A117 #1796A1
split-complementary
#6717A1 #96A117 #17A122
monochromatic
#220836 #450F6B #6717A1 #891FD7 #A54DE6

Accessibility & contrast

On white

9.49
#6717A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6717A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6717A1
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6717A1#FFFFFF#000000##FFFFFF
##6717A11.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5C3F5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6717a1;
/* rgb */ color: rgb(103, 23, 161);
/* oklch */ color: oklch(41.9% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#9961be',
    500: '#6717a1',
    950: '#000000',
  },
}
SCSS
$custom: #6717a1;
$custom-light: #9961be;
$custom-dark: #000000;
JSON
{
  "hex": "#6717a1",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 274.783,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.19922,
    "h": 304.7
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#6717A1
secondary
#80C74C
accent
#F23685
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6717A1

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

Preview Lab → · Contrast checker → · Palette generator →

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