#6717A0#6717A0

#6717A0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.8% C 0.198 H 305.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6717A0
RGBrgb(103, 23, 160)
HSLhsl(275, 75%, 36%)
HSVhsv(275, 86%, 63%)
CMYKcmyk(35.6%, 85.6%, 0%, 37.3%)
CIE-LABlab(29.50, 56.40, -56.93)
CIE-LCHlch(29.50, 80.14, 314.73°)
OKLaboklab(41.83% 0.1138 -0.1624)
OKLCHoklch(41.83% 0.198 305)
XYZxyz(12.2436, 6.0345, 33.7706)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6717A0 #50A017
analogous
#2217A0 #6717A0 #A01794
triadic
#6717A0 #A06717 #17A067
tetradic
#6717A0 #A02217 #50A017 #1794A0
square
#6717A0 #A02217 #50A017 #1794A0
split-complementary
#6717A0 #94A017 #17A022
monochromatic
#220835 #450F6A #6717A0 #891FD6 #A64CE5

Accessibility & contrast

On white

9.52
#6717A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6717A0
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6717A0#FFFFFF#000000##FFFFFF
##6717A01.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5C3F5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6717a0;
/* rgb */ color: rgb(103, 23, 160);
/* oklch */ color: oklch(41.8% 0.198 305.0);
Tailwind
colors: {
  custom: {
    50: '#9961bd',
    500: '#6717a0',
    950: '#000000',
  },
}
SCSS
$custom: #6717a0;
$custom-light: #9961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6717a0",
  "rgb": {
    "r": 103,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 275.036,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.1983,
    "h": 305
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#6717A0
secondary
#7FC74C
accent
#F13684
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6717A0

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

Preview Lab → · Contrast checker → · Palette generator →

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