#6C1A91#6C1A91

#6C1A91 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 312.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6C1A91
RGBrgb(108, 26, 145)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 57%)
CMYKcmyk(25.5%, 82.1%, 0%, 43.1%)
CIE-LABlab(29.34, 53.03, -47.97)
CIE-LCHlch(29.34, 71.51, 317.87°)
OKLaboklab(41.49% 0.123 -0.1359)
OKLCHoklch(41.49% 0.183 312.1)
XYZxyz(11.6636, 5.9716, 27.3208)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A91 #3F911A
analogous
#311A91 #6C1A91 #911A7A
triadic
#6C1A91 #916C1A #1A916C
tetradic
#6C1A91 #91311A #3F911A #1A7A91
square
#6C1A91 #91311A #3F911A #1A7A91
split-complementary
#6C1A91 #7A911A #1A9131
monochromatic
#1F0729 #45115D #6C1A91 #9323C5 #AF47DE

Accessibility & contrast

On white

9.57
#6C1A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6C1A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A91
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A91#FFFFFF#000000##FFFFFF
##6C1A911.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#673856
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1a91;
/* rgb */ color: rgb(108, 26, 145);
/* oklch */ color: oklch(41.5% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#9b62b2',
    500: '#6c1a91',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a91;
$custom-light: #9b62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a91",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 281.345,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41489,
    "c": 0.18332,
    "h": 312.1
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#6C1A91
secondary
#6DC047
accent
#EC3B72
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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