#6C1C97#6C1C97

#6C1C97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.187 H 309.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6C1C97
RGBrgb(108, 28, 151)
HSLhsl(279, 69%, 35%)
HSVhsv(279, 81%, 59%)
CMYKcmyk(28.5%, 81.5%, 0%, 40.8%)
CIE-LABlab(30.04, 53.65, -50.52)
CIE-LCHlch(30.04, 73.69, 316.72°)
OKLaboklab(42.13% 0.12 -0.1434)
OKLCHoklch(42.13% 0.187 309.9)
XYZxyz(12.1844, 6.2533, 29.8373)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C97 #47971C
analogous
#2E1C97 #6C1C97 #971C85
triadic
#6C1C97 #976C1C #1C976C
tetradic
#6C1C97 #972E1C #47971C #1C8597
square
#6C1C97 #972E1C #47971C #1C8597
split-complementary
#6C1C97 #85971C #1C972E
monochromatic
#220930 #471263 #6C1C97 #9126CB #AC4FDE

Accessibility & contrast

On white

9.33
#6C1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6C1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C97
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C97#FFFFFF#000000##FFFFFF
##6C1C971.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#663C5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1c97;
/* rgb */ color: rgb(108, 28, 151);
/* oklch */ color: oklch(42.1% 0.187 309.9);
Tailwind
colors: {
  custom: {
    50: '#9b63b6',
    500: '#6c1c97',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c97;
$custom-light: #9b63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c97",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 279.024,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.187,
    "h": 309.9
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#6C1C97
secondary
#76C14E
accent
#EC3C7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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