#6C1FA6#6C1FA6

#6C1FA6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.6% C 0.198 H 304.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6C1FA6
RGBrgb(108, 31, 166)
HSLhsl(274, 69%, 39%)
HSVhsv(274, 81%, 65%)
CMYKcmyk(34.9%, 81.3%, 0%, 34.9%)
CIE-LABlab(31.63, 55.94, -57.06)
CIE-LCHlch(31.63, 79.91, 314.43°)
OKLaboklab(43.62% 0.1137 -0.1627)
OKLCHoklch(43.62% 0.198 304.9)
XYZxyz(13.5557, 6.9214, 36.6908)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1FA6 #59A61F
analogous
#281FA6 #6C1FA6 #A61F9C
triadic
#6C1FA6 #A66C1F #1FA66C
tetradic
#6C1FA6 #A6281F #59A61F #1F9CA6
square
#6C1FA6 #A6281F #59A61F #1F9CA6
split-complementary
#6C1FA6 #9CA61F #1FA628
monochromatic
#290C3F #4A1572 #6C1FA6 #8D2BD7 #A95EE1

Accessibility & contrast

On white

8.81
#6C1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1FA6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1FA6#FFFFFF#000000##FFFFFF
##6C1FA61.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#614463
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c1fa6;
/* rgb */ color: rgb(108, 31, 166);
/* oklch */ color: oklch(43.6% 0.198 304.9);
Tailwind
colors: {
  custom: {
    50: '#9c65c1',
    500: '#6c1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6c1fa6;
$custom-light: #9c65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1fa6",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 274.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.19844,
    "h": 304.9
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#6C1FA6
secondary
#89C55B
accent
#EB3C88
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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