#6C1381#6C1381

#6C1381 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.8% C 0.175 H 318.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#6C1381
RGBrgb(108, 19, 129)
HSLhsl(289, 74%, 29%)
HSVhsv(289, 85%, 51%)
CMYKcmyk(16.3%, 85.3%, 0%, 49.4%)
CIE-LABlab(27.41, 51.89, -41.13)
CIE-LCHlch(27.41, 66.22, 321.60°)
OKLaboklab(39.75% 0.1316 -0.1158)
OKLCHoklch(39.75% 0.175 318.7)
XYZxyz(10.3791, 5.2394, 21.2292)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1381 #288113
analogous
#351381 #6C1381 #81135F
triadic
#6C1381 #816C13 #13816C
tetradic
#6C1381 #813513 #288113 #135F81
square
#6C1381 #813513 #288113 #135F81
split-complementary
#6C1381 #5F8113 #138135
monochromatic
#16041B #3F0B4C #6C1381 #991BB6 #BE2EE0

Accessibility & contrast

On white

10.25
#6C1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6C1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1381
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1381#FFFFFF#000000##FFFFFF
##6C13811.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#1B437F
Tritanopia (blue-blind)
#6C2D4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1381;
/* rgb */ color: rgb(108, 19, 129);
/* oklch */ color: oklch(39.8% 0.175 318.7);
Tailwind
colors: {
  custom: {
    50: '#9a5fa6',
    500: '#6c1381',
    950: '#000000',
  },
}
SCSS
$custom: #6c1381;
$custom-light: #9a5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1381",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 288.545,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39752,
    "c": 0.1753,
    "h": 318.7
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#6C1381
secondary
#51B63A
accent
#F1375A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C1381

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

Preview Lab → · Contrast checker → · Palette generator →

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