#6C1E82#6C1E82

#6C1E82 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.165 H 317.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6C1E82
RGBrgb(108, 30, 130)
HSLhsl(287, 63%, 31%)
HSVhsv(287, 77%, 51%)
CMYKcmyk(16.9%, 76.9%, 0%, 49%)
CIE-LABlab(28.72, 48.51, -39.65)
CIE-LCHlch(28.72, 62.65, 320.74°)
OKLaboklab(40.7% 0.1222 -0.1115)
OKLCHoklch(40.7% 0.165 317.6)
XYZxyz(10.6773, 5.7289, 21.6581)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1E82 #34821E
analogous
#3A1E82 #6C1E82 #821E66
triadic
#6C1E82 #826C1E #1E826C
tetradic
#6C1E82 #823A1E #34821E #1E6682
square
#6C1E82 #823A1E #34821E #1E6682
split-complementary
#6C1E82 #66821E #1E823A
monochromatic
#19071F #431350 #6C1E82 #9529B4 #B546D4

Accessibility & contrast

On white

9.79
#6C1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6C1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1E82
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1E82#FFFFFF#000000##FFFFFF
##6C1E821.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#214680
Tritanopia (blue-blind)
#6B334F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c1e82;
/* rgb */ color: rgb(108, 30, 130);
/* oklch */ color: oklch(40.7% 0.165 317.6);
Tailwind
colors: {
  custom: {
    50: '#9a63a7',
    500: '#6c1e82',
    950: '#000000',
  },
}
SCSS
$custom: #6c1e82;
$custom-light: #9a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1e82",
  "rgb": {
    "r": 108,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 286.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.407,
    "c": 0.16541,
    "h": 317.6
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#6C1E82
secondary
#5FB547
accent
#E64266
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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