#6C1FAA#6C1FAA

#6C1FAA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.202 H 303.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6C1FAA
RGBrgb(108, 31, 170)
HSLhsl(273, 69%, 39%)
HSVhsv(273, 82%, 67%)
CMYKcmyk(36.5%, 81.8%, 0%, 33.3%)
CIE-LABlab(31.97, 56.85, -58.91)
CIE-LCHlch(31.97, 81.87, 313.98°)
OKLaboklab(43.96% 0.1125 -0.1681)
OKLCHoklch(43.96% 0.202 303.8)
XYZxyz(13.9283, 7.0704, 38.6534)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1FAA #5DAA1F
analogous
#261FAA #6C1FAA #AA1FA3
triadic
#6C1FAA #AA6C1F #1FAA6C
tetradic
#6C1FAA #AA261F #5DAA1F #1FA3AA
square
#6C1FAA #AA261F #5DAA1F #1FA3AA
split-complementary
#6C1FAA #A3AA1F #1FAA26
monochromatic
#2A0C42 #4B1676 #6C1FAA #8C2DD9 #A961E2

Accessibility & contrast

On white

8.70
#6C1FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6C1FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1FAA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1FAA#FFFFFF#000000##FFFFFF
##6C1FAA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#5F4566
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c1faa;
/* rgb */ color: rgb(108, 31, 170);
/* oklch */ color: oklch(44.0% 0.202 303.8);
Tailwind
colors: {
  custom: {
    50: '#9c65c4',
    500: '#6c1faa',
    950: '#000000',
  },
}
SCSS
$custom: #6c1faa;
$custom-light: #9c65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1faa",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 273.237,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.20227,
    "h": 303.8
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#6C1FAA
secondary
#8DC75E
accent
#EC3C8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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