#6C1EA1#6C1EA1

#6C1EA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.195 H 306.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6C1EA1
RGBrgb(108, 30, 161)
HSLhsl(276, 69%, 37%)
HSVhsv(276, 81%, 63%)
CMYKcmyk(32.9%, 81.4%, 0%, 36.9%)
CIE-LABlab(31.09, 55.17, -54.91)
CIE-LCHlch(31.09, 77.84, 315.13°)
OKLaboklab(43.11% 0.1158 -0.1563)
OKLCHoklch(43.11% 0.195 306.5)
XYZxyz(13.0802, 6.6900, 34.3135)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EA1 #53A11E
analogous
#2A1EA1 #6C1EA1 #A11E95
triadic
#6C1EA1 #A16C1E #1EA16C
tetradic
#6C1EA1 #A12A1E #53A11E #1E95A1
square
#6C1EA1 #A12A1E #53A11E #1E95A1
split-complementary
#6C1EA1 #95A11E #1EA12A
monochromatic
#270B3A #49146D #6C1EA1 #8F28D5 #AA59E0

Accessibility & contrast

On white

8.98
#6C1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EA1
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EA1#FFFFFF#000000##FFFFFF
##6C1EA11.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#634160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c1ea1;
/* rgb */ color: rgb(108, 30, 161);
/* oklch */ color: oklch(43.1% 0.195 306.5);
Tailwind
colors: {
  custom: {
    50: '#9c64be',
    500: '#6c1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ea1;
$custom-light: #9c64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ea1",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 275.725,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.19457,
    "h": 306.5
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#6C1EA1
secondary
#83C457
accent
#EB3C83
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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