#6C1A94#6C1A94

#6C1A94 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.186 H 311.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6C1A94
RGBrgb(108, 26, 148)
HSLhsl(280, 70%, 34%)
HSVhsv(280, 82%, 58%)
CMYKcmyk(27%, 82.4%, 0%, 42%)
CIE-LABlab(29.58, 53.67, -49.44)
CIE-LCHlch(29.58, 72.97, 317.35°)
OKLaboklab(41.73% 0.1223 -0.1402)
OKLCHoklch(41.73% 0.186 311.1)
XYZxyz(11.8980, 6.0654, 28.5552)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A94 #42941A
analogous
#2F1A94 #6C1A94 #941A7F
triadic
#6C1A94 #946C1A #1A946C
tetradic
#6C1A94 #942F1A #42941A #1A7F94
square
#6C1A94 #942F1A #42941A #1A7F94
split-complementary
#6C1A94 #7F941A #1A942F
monochromatic
#20082C #461160 #6C1A94 #9223C8 #AE49DF

Accessibility & contrast

On white

9.49
#6C1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6C1A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A94
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A94#FFFFFF#000000##FFFFFF
##6C1A941.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#673958
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1a94;
/* rgb */ color: rgb(108, 26, 148);
/* oklch */ color: oklch(41.7% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#9b62b4',
    500: '#6c1a94',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a94;
$custom-light: #9b62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a94",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 280.328,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.18606,
    "h": 311.1
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#6C1A94
secondary
#70C149
accent
#ED3B75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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