#6417A1#6417A1

#6417A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.199 H 303.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6417A1
RGBrgb(100, 23, 161)
HSLhsl(273, 75%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(37.9%, 85.7%, 0%, 36.9%)
CIE-LABlab(29.15, 56.19, -58.14)
CIE-LCHlch(29.15, 80.85, 314.02°)
OKLaboklab(41.52% 0.109 -0.166)
OKLCHoklch(41.52% 0.199 303.3)
XYZxyz(11.9934, 5.8953, 34.2174)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6417A1 #54A117
analogous
#1F17A1 #6417A1 #A11799
triadic
#6417A1 #A16417 #17A164
tetradic
#6417A1 #A11F17 #54A117 #1799A1
square
#6417A1 #A11F17 #54A117 #1799A1
split-complementary
#6417A1 #99A117 #17A11F
monochromatic
#210836 #430F6B #6417A1 #851FD7 #A24DE6

Accessibility & contrast

On white

9.64
#6417A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6417A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6417A1
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6417A1#FFFFFF#000000##FFFFFF
##6417A11.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#57405F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6417a1;
/* rgb */ color: rgb(100, 23, 161);
/* oklch */ color: oklch(41.5% 0.199 303.3);
Tailwind
colors: {
  custom: {
    50: '#9761be',
    500: '#6417a1',
    950: '#000000',
  },
}
SCSS
$custom: #6417a1;
$custom-light: #9761be;
$custom-dark: #000000;
JSON
{
  "hex": "#6417a1",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 273.478,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.19862,
    "h": 303.3
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#6417A1
secondary
#83C74C
accent
#F23689
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6417A1

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

Preview Lab → · Contrast checker → · Palette generator →

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