#6917B3#6917B3

#6917B3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.216 H 300.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6917B3
RGBrgb(105, 23, 179)
HSLhsl(272, 77%, 40%)
HSVhsv(272, 87%, 70%)
CMYKcmyk(41.3%, 87.2%, 0%, 29.8%)
CIE-LABlab(31.51, 60.94, -65.06)
CIE-LCHlch(31.51, 89.14, 313.13°)
OKLaboklab(43.8% 0.1101 -0.1862)
OKLCHoklch(43.8% 0.216 300.6)
XYZxyz(14.2667, 6.8706, 43.2136)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6917B3 #61B317
analogous
#1B17B3 #6917B3 #B317AF
triadic
#6917B3 #B36917 #17B369
tetradic
#6917B3 #B31B17 #61B317 #17AFB3
square
#6917B3 #B31B17 #61B317 #17AFB3
split-complementary
#6917B3 #AFB317 #17B31B
monochromatic
#290947 #49107D #6917B3 #8824E3 #A65BEA

Accessibility & contrast

On white

8.85
#6917B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6917B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6917B3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6917B3#FFFFFF#000000##FFFFFF
##6917B31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#57476A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6917b3;
/* rgb */ color: rgb(105, 23, 179);
/* oklch */ color: oklch(43.8% 0.216 300.6);
Tailwind
colors: {
  custom: {
    50: '#9c63cb',
    500: '#6917b3',
    950: '#000000',
  },
}
SCSS
$custom: #6917b3;
$custom-light: #9c63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6917b3",
  "rgb": {
    "r": 105,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 271.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.21627,
    "h": 300.6
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#6917B3
secondary
#90CD58
accent
#F4348F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6917B3

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

Preview Lab → · Contrast checker → · Palette generator →

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