#6C1E87#6C1E87

#6C1E87 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.170 H 315.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6C1E87
RGBrgb(108, 30, 135)
HSLhsl(285, 64%, 32%)
HSVhsv(285, 78%, 53%)
CMYKcmyk(20%, 77.8%, 0%, 47.1%)
CIE-LABlab(29.07, 49.54, -42.20)
CIE-LCHlch(29.07, 65.08, 319.57°)
OKLaboklab(41.06% 0.1215 -0.119)
OKLCHoklch(41.06% 0.17 315.6)
XYZxyz(11.0211, 5.8664, 23.4688)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E87 #39871E
analogous
#371E87 #6C1E87 #871E6E
triadic
#6C1E87 #876C1E #1E876C
tetradic
#6C1E87 #87371E #39871E #1E6E87
square
#6C1E87 #87371E #39871E #1E6E87
split-complementary
#6C1E87 #6E871E #1E8737
monochromatic
#1C0823 #441355 #6C1E87 #9429B9 #B249D7

Accessibility & contrast

On white

9.66
#6C1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6C1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E87
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E87#FFFFFF#000000##FFFFFF
##6C1E871.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#1B4785
Tritanopia (blue-blind)
#6A3551
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1e87;
/* rgb */ color: rgb(108, 30, 135);
/* oklch */ color: oklch(41.1% 0.170 315.6);
Tailwind
colors: {
  custom: {
    50: '#9a63ab',
    500: '#6c1e87',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e87;
$custom-light: #9a63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e87",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 284.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.17005,
    "h": 315.6
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#6C1E87
secondary
#65B948
accent
#E7416C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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