#6C1981#6C1981

#6C1981 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.170 H 318.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#6C1981
RGBrgb(108, 25, 129)
HSLhsl(288, 68%, 30%)
HSVhsv(288, 81%, 51%)
CMYKcmyk(16.3%, 80.6%, 0%, 49.4%)
CIE-LABlab(28.03, 50.08, -40.13)
CIE-LCHlch(28.03, 64.17, 321.30°)
OKLaboklab(40.19% 0.1269 -0.1129)
OKLCHoklch(40.19% 0.17 318.4)
XYZxyz(10.4939, 5.4689, 21.2675)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1981 #2E8119
analogous
#381981 #6C1981 #811962
triadic
#6C1981 #816C19 #19816C
tetradic
#6C1981 #813819 #2E8119 #196281
square
#6C1981 #813819 #2E8119 #196281
split-complementary
#6C1981 #628119 #198138
monochromatic
#16051A #410F4E #6C1981 #9723B4 #B93BD9

Accessibility & contrast

On white

10.03
#6C1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6C1981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1981
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1981#FFFFFF#000000##FFFFFF
##6C19811.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#1F457F
Tritanopia (blue-blind)
#6B304D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1981;
/* rgb */ color: rgb(108, 25, 129);
/* oklch */ color: oklch(40.2% 0.170 318.4);
Tailwind
colors: {
  custom: {
    50: '#9a61a6',
    500: '#6c1981',
    950: '#000000',
  },
}
SCSS
$custom: #6c1981;
$custom-light: #9a61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1981",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 287.885,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.16984,
    "h": 318.4
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#6C1981
secondary
#58B541
accent
#EA3D60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1981

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

Preview Lab → · Contrast checker → · Palette generator →

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