#6C1EAA#6C1EAA

#6C1EAA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.203 H 303.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6C1EAA
RGBrgb(108, 30, 170)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 67%)
CMYKcmyk(36.5%, 82.4%, 0%, 33.3%)
CIE-LABlab(31.85, 57.19, -59.10)
CIE-LCHlch(31.85, 82.25, 314.06°)
OKLaboklab(43.88% 0.1132 -0.1686)
OKLCHoklch(43.88% 0.203 303.9)
XYZxyz(13.9026, 7.0190, 38.6448)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EAA #5CAA1E
analogous
#261EAA #6C1EAA #AA1EA2
triadic
#6C1EAA #AA6C1E #1EAA6C
tetradic
#6C1EAA #AA261E #5CAA1E #1EA2AA
square
#6C1EAA #AA261E #5CAA1E #1EA2AA
split-complementary
#6C1EAA #A2AA1E #1EAA26
monochromatic
#2A0C42 #4B1576 #6C1EAA #8D2CDA #A960E3

Accessibility & contrast

On white

8.74
#6C1EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C1EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EAA
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EAA#FFFFFF#000000##FFFFFF
##6C1EAA1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1eaa;
/* rgb */ color: rgb(108, 30, 170);
/* oklch */ color: oklch(43.9% 0.203 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c65c4',
    500: '#6c1eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6c1eaa;
$custom-light: #9c65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1eaa",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 170
  },
  "hsl": {
    "h": 273.429,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.20313,
    "h": 303.9
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#6C1EAA
secondary
#8CC75C
accent
#ED3B8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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