#6C1E8D#6C1E8D

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

Color values

HEX#6C1E8D
RGBrgb(108, 30, 141)
HSLhsl(282, 65%, 34%)
HSVhsv(282, 79%, 55%)
CMYKcmyk(23.4%, 78.7%, 0%, 44.7%)
CIE-LABlab(29.51, 50.80, -45.22)
CIE-LCHlch(29.51, 68.01, 318.33°)
OKLaboklab(41.52% 0.1205 -0.1279)
OKLCHoklch(41.52% 0.176 313.3)
XYZxyz(11.4555, 6.0401, 25.7566)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E8D #3F8D1E
analogous
#341E8D #6C1E8D #8D1E76
triadic
#6C1E8D #8D6C1E #1E8D6C
tetradic
#6C1E8D #8D341E #3F8D1E #1E768D
square
#6C1E8D #8D341E #3F8D1E #1E768D
split-complementary
#6C1E8D #768D1E #1E8D34
monochromatic
#1F0928 #45135B #6C1E8D #9329BF #AF4CD9

Accessibility & contrast

On white

9.51
#6C1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1E8D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E8D#FFFFFF#000000##FFFFFF
##6C1E8D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#683855
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1e8d;
/* rgb */ color: rgb(108, 30, 141);
/* oklch */ color: oklch(41.5% 0.176 313.3);
Tailwind
colors: {
  custom: {
    50: '#9a63af',
    500: '#6c1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e8d;
$custom-light: #9a63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e8d",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 282.162,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.17567,
    "h": 313.3
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#6C1E8D
secondary
#6DBC4B
accent
#E84072
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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