#6C1EA6#6C1EA6

#6C1EA6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.199 H 305.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C1EA6
RGBrgb(108, 30, 166)
HSLhsl(274, 69%, 38%)
HSVhsv(274, 82%, 65%)
CMYKcmyk(34.9%, 81.9%, 0%, 34.9%)
CIE-LABlab(31.51, 56.29, -57.25)
CIE-LCHlch(31.51, 80.29, 314.51°)
OKLaboklab(43.53% 0.1144 -0.1632)
OKLCHoklch(43.53% 0.199 305)
XYZxyz(13.5300, 6.8699, 36.6822)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EA6 #58A61E
analogous
#281EA6 #6C1EA6 #A61E9C
triadic
#6C1EA6 #A66C1E #1EA66C
tetradic
#6C1EA6 #A6281E #58A61E #1E9CA6
square
#6C1EA6 #A6281E #58A61E #1E9CA6
split-complementary
#6C1EA6 #9CA61E #1EA628
monochromatic
#290B3E #4A1572 #6C1EA6 #8D29D8 #A95DE2

Accessibility & contrast

On white

8.85
#6C1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EA6
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EA6#FFFFFF#000000##FFFFFF
##6C1EA61.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1ea6;
/* rgb */ color: rgb(108, 30, 166);
/* oklch */ color: oklch(43.5% 0.199 305.0);
Tailwind
colors: {
  custom: {
    50: '#9c65c1',
    500: '#6c1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ea6;
$custom-light: #9c65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ea6",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 274.412,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.19932,
    "h": 305
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#6C1EA6
secondary
#88C65A
accent
#EC3C87
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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