#6C1E8F#6C1E8F

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

Color values

HEX#6C1E8F
RGBrgb(108, 30, 143)
HSLhsl(281, 65%, 34%)
HSVhsv(281, 79%, 56%)
CMYKcmyk(24.5%, 79%, 0%, 43.9%)
CIE-LABlab(29.66, 51.23, -46.21)
CIE-LCHlch(29.66, 68.99, 317.95°)
OKLaboklab(41.67% 0.1201 -0.1308)
OKLCHoklch(41.67% 0.178 312.6)
XYZxyz(11.6056, 6.1002, 26.5474)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E8F #418F1E
analogous
#341E8F #6C1E8F #8F1E7A
triadic
#6C1E8F #8F6C1E #1E8F6C
tetradic
#6C1E8F #8F341E #418F1E #1E7A8F
square
#6C1E8F #8F341E #418F1E #1E7A8F
split-complementary
#6C1E8F #7A8F1E #1E8F34
monochromatic
#20092A #46135C #6C1E8F #9229C2 #AE4EDA

Accessibility & contrast

On white

9.46
#6C1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6C1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E8F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E8F#FFFFFF#000000##FFFFFF
##6C1E8F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#0C478D
Tritanopia (blue-blind)
#683956
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1e8f;
/* rgb */ color: rgb(108, 30, 143);
/* oklch */ color: oklch(41.7% 0.178 312.6);
Tailwind
colors: {
  custom: {
    50: '#9a63b0',
    500: '#6c1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e8f;
$custom-light: #9a63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e8f",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 281.416,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.17755,
    "h": 312.6
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#6C1E8F
secondary
#6FBC4C
accent
#E84074
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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