#6D17B3#6D17B3

#6D17B3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.3% C 0.217 H 302.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6D17B3
RGBrgb(109, 23, 179)
HSLhsl(273, 77%, 40%)
HSVhsv(273, 87%, 70%)
CMYKcmyk(39.1%, 87.2%, 0%, 29.8%)
CIE-LABlab(32.08, 61.46, -64.11)
CIE-LCHlch(32.08, 88.81, 313.79°)
OKLaboklab(44.31% 0.1161 -0.1833)
OKLCHoklch(44.31% 0.217 302.3)
XYZxyz(14.7478, 7.1186, 43.2361)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D17B3 #5DB317
analogous
#1F17B3 #6D17B3 #B317AB
triadic
#6D17B3 #B36D17 #17B36D
tetradic
#6D17B3 #B31F17 #5DB317 #17ABB3
square
#6D17B3 #B31F17 #5DB317 #17ABB3
split-complementary
#6D17B3 #ABB317 #17B31F
monochromatic
#2B0947 #4C107D #6D17B3 #8D24E3 #AA5BEA

Accessibility & contrast

On white

8.66
#6D17B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6D17B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D17B3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D17B3#FFFFFF#000000##FFFFFF
##6D17B31.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#5E476A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d17b3;
/* rgb */ color: rgb(109, 23, 179);
/* oklch */ color: oklch(44.3% 0.217 302.3);
Tailwind
colors: {
  custom: {
    50: '#9e63cb',
    500: '#6d17b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d17b3;
$custom-light: #9e63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d17b3",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 273.077,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.21692,
    "h": 302.3
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#6D17B3
secondary
#8DCD58
accent
#F4348A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D17B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6D17B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva