#6C1A95#6C1A95

#6C1A95 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.187 H 310.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#6C1A95
RGBrgb(108, 26, 149)
HSLhsl(280, 70%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(27.5%, 82.6%, 0%, 41.6%)
CIE-LABlab(29.66, 53.88, -49.92)
CIE-LCHlch(29.66, 73.45, 317.18°)
OKLaboklab(41.81% 0.122 -0.1416)
OKLCHoklch(41.81% 0.187 310.7)
XYZxyz(11.9775, 6.0972, 28.9739)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A95 #43951A
analogous
#2F1A95 #6C1A95 #951A81
triadic
#6C1A95 #956C1A #1A956C
tetradic
#6C1A95 #952F1A #43951A #1A8195
square
#6C1A95 #952F1A #43951A #1A8195
split-complementary
#6C1A95 #81951A #1A952F
monochromatic
#20082D #461161 #6C1A95 #9223C9 #AE4ADF

Accessibility & contrast

On white

9.46
#6C1A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6C1A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A95
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A95#FFFFFF#000000##FFFFFF
##6C1A951.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1a95;
/* rgb */ color: rgb(108, 26, 149);
/* oklch */ color: oklch(41.8% 0.187 310.7);
Tailwind
colors: {
  custom: {
    50: '#9b62b5',
    500: '#6c1a95',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a95;
$custom-light: #9b62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a95",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 280,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.18697,
    "h": 310.7
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#6C1A95
secondary
#71C14A
accent
#ED3B76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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