#6617A1#6617A1

#6617A1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.8% C 0.199 H 304.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6617A1
RGBrgb(102, 23, 161)
HSLhsl(274, 75%, 36%)
HSVhsv(274, 86%, 63%)
CMYKcmyk(36.6%, 85.7%, 0%, 36.9%)
CIE-LABlab(29.44, 56.48, -57.64)
CIE-LCHlch(29.44, 80.70, 314.41°)
OKLaboklab(41.78% 0.112 -0.1645)
OKLCHoklch(41.78% 0.199 304.2)
XYZxyz(12.2174, 6.0108, 34.2279)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6617A1 #52A117
analogous
#2117A1 #6617A1 #A11797
triadic
#6617A1 #A16617 #17A166
tetradic
#6617A1 #A12117 #52A117 #1797A1
square
#6617A1 #A12117 #52A117 #1797A1
split-complementary
#6617A1 #97A117 #17A121
monochromatic
#220836 #440F6B #6617A1 #881FD7 #A44DE6

Accessibility & contrast

On white

9.54
#6617A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6617A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6617A1
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6617A1#FFFFFF#000000##FFFFFF
##6617A11.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#5A3F5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6617a1;
/* rgb */ color: rgb(102, 23, 161);
/* oklch */ color: oklch(41.8% 0.199 304.2);
Tailwind
colors: {
  custom: {
    50: '#9861be',
    500: '#6617a1',
    950: '#000000',
  },
}
SCSS
$custom: #6617a1;
$custom-light: #9861be;
$custom-dark: #000000;
JSON
{
  "hex": "#6617a1",
  "rgb": {
    "r": 102,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 274.348,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.19902,
    "h": 304.2
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#6617A1
secondary
#81C74C
accent
#F23686
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6617A1

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

Preview Lab → · Contrast checker → · Palette generator →

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