#6C1E9E#6C1E9E

#6C1E9E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.192 H 307.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6C1E9E
RGBrgb(108, 30, 158)
HSLhsl(277, 68%, 37%)
HSVhsv(277, 81%, 62%)
CMYKcmyk(31.6%, 81%, 0%, 38%)
CIE-LABlab(30.84, 54.50, -53.49)
CIE-LCHlch(30.84, 76.36, 315.53°)
OKLaboklab(42.86% 0.1166 -0.1522)
OKLCHoklch(42.86% 0.192 307.5)
XYZxyz(12.8188, 6.5855, 32.9369)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E9E #509E1E
analogous
#2C1E9E #6C1E9E #9E1E90
triadic
#6C1E9E #9E6C1E #1E9E6C
tetradic
#6C1E9E #9E2C1E #509E1E #1E909E
square
#6C1E9E #9E2C1E #509E1E #1E909E
split-complementary
#6C1E9E #909E1E #1E9E2C
monochromatic
#260A37 #49146B #6C1E9E #8F28D1 #AA57DF

Accessibility & contrast

On white

9.06
#6C1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6C1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E9E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E9E#FFFFFF#000000##FFFFFF
##6C1E9E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#64405F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c1e9e;
/* rgb */ color: rgb(108, 30, 158);
/* oklch */ color: oklch(42.9% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#9b64bc',
    500: '#6c1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e9e;
$custom-light: #9b64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e9e",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 276.563,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.19172,
    "h": 307.5
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#6C1E9E
secondary
#80C355
accent
#EB3D81
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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