#6C1E8A#6C1E8A

#6C1E8A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.173 H 314.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6C1E8A
RGBrgb(108, 30, 138)
HSLhsl(283, 64%, 33%)
HSVhsv(283, 78%, 54%)
CMYKcmyk(21.7%, 78.3%, 0%, 45.9%)
CIE-LABlab(29.29, 50.17, -43.72)
CIE-LCHlch(29.29, 66.54, 318.93°)
OKLaboklab(41.29% 0.121 -0.1234)
OKLCHoklch(41.29% 0.173 314.4)
XYZxyz(11.2353, 5.9521, 24.5969)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E8A #3C8A1E
analogous
#361E8A #6C1E8A #8A1E72
triadic
#6C1E8A #8A6C1E #1E8A6C
tetradic
#6C1E8A #8A361E #3C8A1E #1E728A
square
#6C1E8A #8A361E #3C8A1E #1E728A
split-complementary
#6C1E8A #728A1E #1E8A36
monochromatic
#1D0825 #451358 #6C1E8A #9329BC #B14BD8

Accessibility & contrast

On white

9.59
#6C1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1E8A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E8A#FFFFFF#000000##FFFFFF
##6C1E8A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#693753
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1e8a;
/* rgb */ color: rgb(108, 30, 138);
/* oklch */ color: oklch(41.3% 0.173 314.4);
Tailwind
colors: {
  custom: {
    50: '#9a63ad',
    500: '#6c1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e8a;
$custom-light: #9a63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e8a",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 283.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.17286,
    "h": 314.4
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#6C1E8A
secondary
#69BA4A
accent
#E7416F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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