#6C1C99#6C1C99

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

Color values

HEX#6C1C99
RGBrgb(108, 28, 153)
HSLhsl(278, 69%, 35%)
HSVhsv(278, 82%, 60%)
CMYKcmyk(29.4%, 81.7%, 0%, 40%)
CIE-LABlab(30.20, 54.09, -51.49)
CIE-LCHlch(30.20, 74.67, 316.41°)
OKLaboklab(42.29% 0.1195 -0.1463)
OKLCHoklch(42.29% 0.189 309.2)
XYZxyz(12.3482, 6.3188, 30.7000)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C99 #49991C
analogous
#2D1C99 #6C1C99 #991C87
triadic
#6C1C99 #996C1C #1C996C
tetradic
#6C1C99 #992D1C #49991C #1C8799
square
#6C1C99 #992D1C #49991C #1C8799
split-complementary
#6C1C99 #87991C #1C992D
monochromatic
#230932 #471365 #6C1C99 #9125CD #AC50DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1C99#FFFFFF#000000##FFFFFF
##6C1C991.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)
#00449C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#653D5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1c99;
/* rgb */ color: rgb(108, 28, 153);
/* oklch */ color: oklch(42.3% 0.189 309.2);
Tailwind
colors: {
  custom: {
    50: '#9b63b8',
    500: '#6c1c99',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c99;
$custom-light: #9b63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c99",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 278.4,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.18886,
    "h": 309.2
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#6C1C99
secondary
#78C24F
accent
#EC3C7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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