#6917A0#6917A0

#6917A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.199 H 306.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6917A0
RGBrgb(105, 23, 160)
HSLhsl(276, 75%, 36%)
HSVhsv(276, 86%, 63%)
CMYKcmyk(34.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(29.80, 56.70, -56.43)
CIE-LCHlch(29.80, 80.00, 315.13°)
OKLaboklab(42.1% 0.1167 -0.1609)
OKLCHoklch(42.1% 0.199 306)
XYZxyz(12.4758, 6.1542, 33.7815)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6917A0 #4EA017
analogous
#2417A0 #6917A0 #A01792
triadic
#6917A0 #A06917 #17A069
tetradic
#6917A0 #A02417 #4EA017 #1792A0
square
#6917A0 #A02417 #4EA017 #1792A0
split-complementary
#6917A0 #92A017 #17A024
monochromatic
#230835 #460F6A #6917A0 #8C1FD6 #A84CE5

Accessibility & contrast

On white

9.41
#6917A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6917A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6917A0
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6917A0#FFFFFF#000000##FFFFFF
##6917A01.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6917a0;
/* rgb */ color: rgb(105, 23, 160);
/* oklch */ color: oklch(42.1% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#9a61bd',
    500: '#6917a0',
    950: '#000000',
  },
}
SCSS
$custom: #6917a0;
$custom-light: #9a61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6917a0",
  "rgb": {
    "r": 105,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 275.912,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.19874,
    "h": 306
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#6917A0
secondary
#7DC74C
accent
#F13681
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6917A0

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

Preview Lab → · Contrast checker → · Palette generator →

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