#6C1FA7#6C1FA7

#6C1FA7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.199 H 304.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6C1FA7
RGBrgb(108, 31, 167)
HSLhsl(274, 69%, 39%)
HSVhsv(274, 81%, 65%)
CMYKcmyk(35.3%, 81.4%, 0%, 34.5%)
CIE-LABlab(31.71, 56.17, -57.52)
CIE-LCHlch(31.71, 80.40, 314.32°)
OKLaboklab(43.7% 0.1134 -0.164)
OKLCHoklch(43.7% 0.199 304.7)
XYZxyz(13.6478, 6.9582, 37.1758)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1FA7 #5AA71F
analogous
#281FA7 #6C1FA7 #A71F9E
triadic
#6C1FA7 #A76C1F #1FA76C
tetradic
#6C1FA7 #A7281F #5AA71F #1F9EA7
square
#6C1FA7 #A7281F #5AA71F #1F9EA7
split-complementary
#6C1FA7 #9EA71F #1FA728
monochromatic
#290C40 #4B1573 #6C1FA7 #8D2BD8 #A95FE1

Accessibility & contrast

On white

8.78
#6C1FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6C1FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1FA7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1FA7#FFFFFF#000000##FFFFFF
##6C1FA71.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#604464
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c1fa7;
/* rgb */ color: rgb(108, 31, 167);
/* oklch */ color: oklch(43.7% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#9c65c2',
    500: '#6c1fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6c1fa7;
$custom-light: #9c65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1fa7",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 273.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.19939,
    "h": 304.7
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#6C1FA7
secondary
#8AC65C
accent
#EC3C88
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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