#6C1481#6C1481

#6C1481 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.174 H 318.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6C1481
RGBrgb(108, 20, 129)
HSLhsl(288, 73%, 29%)
HSVhsv(288, 84%, 51%)
CMYKcmyk(16.3%, 84.5%, 0%, 49.4%)
CIE-LABlab(27.50, 51.62, -40.98)
CIE-LCHlch(27.50, 65.91, 321.55°)
OKLaboklab(39.82% 0.1309 -0.1153)
OKLCHoklch(39.82% 0.174 318.6)
XYZxyz(10.3964, 5.2739, 21.2350)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1481 #298114
analogous
#361481 #6C1481 #811460
triadic
#6C1481 #816C14 #14816C
tetradic
#6C1481 #813614 #298114 #146081
square
#6C1481 #813614 #298114 #146081
split-complementary
#6C1481 #608114 #148136
monochromatic
#16041A #400C4C #6C1481 #981CB6 #BD30DF

Accessibility & contrast

On white

10.22
#6C1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1481
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1481#FFFFFF#000000##FFFFFF
##6C14811.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1481;
/* rgb */ color: rgb(108, 20, 129);
/* oklch */ color: oklch(39.8% 0.174 318.6);
Tailwind
colors: {
  custom: {
    50: '#9a5fa6',
    500: '#6c1481',
    950: '#000000',
  },
}
SCSS
$custom: #6c1481;
$custom-light: #9a5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1481",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 288.44,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.17447,
    "h": 318.6
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#6C1481
secondary
#53B63B
accent
#F0385B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C1481

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

Preview Lab → · Contrast checker → · Palette generator →

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