#6C1EA0#6C1EA0

#6C1EA0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.194 H 306.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6C1EA0
RGBrgb(108, 30, 160)
HSLhsl(276, 68%, 37%)
HSVhsv(276, 81%, 63%)
CMYKcmyk(32.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(31.01, 54.94, -54.44)
CIE-LCHlch(31.01, 77.35, 315.26°)
OKLaboklab(43.03% 0.1161 -0.1549)
OKLCHoklch(43.03% 0.194 306.8)
XYZxyz(12.9924, 6.6549, 33.8510)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EA0 #52A01E
analogous
#2B1EA0 #6C1EA0 #A01E93
triadic
#6C1EA0 #A06C1E #1EA06C
tetradic
#6C1EA0 #A02B1E #52A01E #1E93A0
square
#6C1EA0 #A02B1E #52A01E #1E93A0
split-complementary
#6C1EA0 #93A01E #1EA02B
monochromatic
#260B39 #49146C #6C1EA0 #8F28D4 #AA59E0

Accessibility & contrast

On white

9.01
#6C1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6C1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EA0
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EA0#FFFFFF#000000##FFFFFF
##6C1EA01.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#634160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c1ea0;
/* rgb */ color: rgb(108, 30, 160);
/* oklch */ color: oklch(43.0% 0.194 306.8);
Tailwind
colors: {
  custom: {
    50: '#9c64bd',
    500: '#6c1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ea0;
$custom-light: #9c64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ea0",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 276,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.19362,
    "h": 306.8
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#6C1EA0
secondary
#82C456
accent
#EB3D82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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