#6C1EA7#6C1EA7

#6C1EA7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.200 H 304.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6C1EA7
RGBrgb(108, 30, 167)
HSLhsl(274, 70%, 39%)
HSVhsv(274, 82%, 65%)
CMYKcmyk(35.3%, 82%, 0%, 34.5%)
CIE-LABlab(31.59, 56.52, -57.72)
CIE-LCHlch(31.59, 80.78, 314.40°)
OKLaboklab(43.62% 0.1141 -0.1646)
OKLCHoklch(43.62% 0.2 304.7)
XYZxyz(13.6221, 6.9068, 37.1672)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1EA7 #59A71E
analogous
#281EA7 #6C1EA7 #A71E9D
triadic
#6C1EA7 #A76C1E #1EA76C
tetradic
#6C1EA7 #A7281E #59A71E #1E9DA7
square
#6C1EA7 #A7281E #59A71E #1E9DA7
split-complementary
#6C1EA7 #9DA71E #1EA728
monochromatic
#290B3F #4A1573 #6C1EA7 #8D2AD9 #A95DE2

Accessibility & contrast

On white

8.82
#6C1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1EA7
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1EA7#FFFFFF#000000##FFFFFF
##6C1EA71.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#604464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c1ea7;
/* rgb */ color: rgb(108, 30, 167);
/* oklch */ color: oklch(43.6% 0.200 304.7);
Tailwind
colors: {
  custom: {
    50: '#9c65c2',
    500: '#6c1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ea7;
$custom-light: #9c65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ea7",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 274.161,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.20027,
    "h": 304.7
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#6C1EA7
secondary
#89C65B
accent
#EC3B88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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