#6C1A96#6C1A96

#6C1A96 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.188 H 310.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6C1A96
RGBrgb(108, 26, 150)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 83%, 59%)
CMYKcmyk(28%, 82.7%, 0%, 41.2%)
CIE-LABlab(29.74, 54.10, -50.41)
CIE-LCHlch(29.74, 73.94, 317.02°)
OKLaboklab(41.89% 0.1218 -0.1431)
OKLCHoklch(41.89% 0.188 310.4)
XYZxyz(12.0577, 6.1292, 29.3961)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A96 #44961A
analogous
#2E1A96 #6C1A96 #961A82
triadic
#6C1A96 #966C1A #1A966C
tetradic
#6C1A96 #962E1A #44961A #1A8296
square
#6C1A96 #962E1A #44961A #1A8296
split-complementary
#6C1A96 #82961A #1A962E
monochromatic
#21082E #461162 #6C1A96 #9223CA #AD4BE0

Accessibility & contrast

On white

9.43
#6C1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1A96
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A96#FFFFFF#000000##FFFFFF
##6C1A961.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1a96;
/* rgb */ color: rgb(108, 26, 150);
/* oklch */ color: oklch(41.9% 0.188 310.4);
Tailwind
colors: {
  custom: {
    50: '#9b62b6',
    500: '#6c1a96',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a96;
$custom-light: #9b62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a96",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 279.677,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.18789,
    "h": 310.4
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#6C1A96
secondary
#73C24A
accent
#ED3B77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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