#6C1B96#6C1B96

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

Color values

HEX#6C1B96
RGBrgb(108, 27, 150)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 59%)
CMYKcmyk(28%, 82%, 0%, 41.2%)
CIE-LABlab(29.85, 53.77, -50.23)
CIE-LCHlch(29.85, 73.58, 316.95°)
OKLaboklab(41.97% 0.121 -0.1425)
OKLCHoklch(41.97% 0.187 310.3)
XYZxyz(12.0802, 6.1743, 29.4036)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B96 #45961B
analogous
#2E1B96 #6C1B96 #961B83
triadic
#6C1B96 #966C1B #1B966C
tetradic
#6C1B96 #962E1B #45961B #1B8396
square
#6C1B96 #962E1B #45961B #1B8396
split-complementary
#6C1B96 #83961B #1B962E
monochromatic
#21082E #471262 #6C1B96 #9124CA #AD4DDF

Accessibility & contrast

On white

9.40
#6C1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6C1B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B96
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B96#FFFFFF#000000##FFFFFF
##6C1B961.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#663B59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1b96;
/* rgb */ color: rgb(108, 27, 150);
/* oklch */ color: oklch(42.0% 0.187 310.3);
Tailwind
colors: {
  custom: {
    50: '#9b63b6',
    500: '#6c1b96',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b96;
$custom-light: #9b63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b96",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 279.512,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.187,
    "h": 310.3
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#6C1B96
secondary
#74C14C
accent
#EC3B78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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