#6C1C96#6C1C96

#6C1C96 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.186 H 310.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6C1C96
RGBrgb(108, 28, 150)
HSLhsl(279, 69%, 35%)
HSVhsv(279, 81%, 59%)
CMYKcmyk(28%, 81.3%, 0%, 41.2%)
CIE-LABlab(29.96, 53.44, -50.04)
CIE-LCHlch(29.96, 73.21, 316.88°)
OKLaboklab(42.05% 0.1202 -0.142)
OKLCHoklch(42.05% 0.186 310.3)
XYZxyz(12.1035, 6.2209, 29.4114)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C96 #46961C
analogous
#2F1C96 #6C1C96 #961C83
triadic
#6C1C96 #966C1C #1C966C
tetradic
#6C1C96 #962F1C #46961C #1C8396
square
#6C1C96 #962F1C #46961C #1C8396
split-complementary
#6C1C96 #83961C #1C962F
monochromatic
#22092F #471262 #6C1C96 #9126CA #AD4EDE

Accessibility & contrast

On white

9.36
#6C1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6C1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C96
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C96#FFFFFF#000000##FFFFFF
##6C1C961.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1c96;
/* rgb */ color: rgb(108, 28, 150);
/* oklch */ color: oklch(42.0% 0.186 310.3);
Tailwind
colors: {
  custom: {
    50: '#9b63b6',
    500: '#6c1c96',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c96;
$custom-light: #9b63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c96",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 279.344,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.18607,
    "h": 310.3
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#6C1C96
secondary
#75C14D
accent
#EB3C79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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