#6C1E96#6C1E96

#6C1E96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.184 H 310.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6C1E96
RGBrgb(108, 30, 150)
HSLhsl(279, 67%, 35%)
HSVhsv(279, 80%, 59%)
CMYKcmyk(28%, 80%, 0%, 41.2%)
CIE-LABlab(30.20, 52.74, -49.65)
CIE-LCHlch(30.20, 72.43, 316.73°)
OKLaboklab(42.22% 0.1186 -0.1409)
OKLCHoklch(42.22% 0.184 310.1)
XYZxyz(12.1525, 6.3190, 29.4277)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E96 #48961E
analogous
#301E96 #6C1E96 #961E84
triadic
#6C1E96 #966C1E #1E966C
tetradic
#6C1E96 #96301E #48961E #1E8496
square
#6C1E96 #96301E #48961E #1E8496
split-complementary
#6C1E96 #84961E #1E9630
monochromatic
#230A30 #471463 #6C1E96 #9128C9 #AC52DC

Accessibility & contrast

On white

9.28
#6C1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6C1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E96
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E96#FFFFFF#000000##FFFFFF
##6C1E961.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#663C5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1e96;
/* rgb */ color: rgb(108, 30, 150);
/* oklch */ color: oklch(42.2% 0.184 310.1);
Tailwind
colors: {
  custom: {
    50: '#9b64b6',
    500: '#6c1e96',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e96;
$custom-light: #9b64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e96",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 279,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.18415,
    "h": 310.1
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#6C1E96
secondary
#77BF50
accent
#EA3E7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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