#6C1480#6C1480

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

Color values

HEX#6C1480
RGBrgb(108, 20, 128)
HSLhsl(289, 73%, 29%)
HSVhsv(289, 84%, 50%)
CMYKcmyk(15.6%, 84.4%, 0%, 49.8%)
CIE-LABlab(27.43, 51.42, -40.47)
CIE-LCHlch(27.43, 65.44, 321.80°)
OKLaboklab(39.75% 0.1311 -0.1138)
OKLCHoklch(39.75% 0.174 319)
XYZxyz(10.3303, 5.2475, 20.8866)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1480 #288014
analogous
#361480 #6C1480 #80145E
triadic
#6C1480 #806C14 #14806C
tetradic
#6C1480 #803614 #288014 #145E80
square
#6C1480 #803614 #288014 #145E80
split-complementary
#6C1480 #5E8014 #148036
monochromatic
#16041A #3F0C4B #6C1480 #991CB5 #BE30DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1480#FFFFFF#000000##FFFFFF
##6C14801.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)
#003B83
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#6C2D4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1480;
/* rgb */ color: rgb(108, 20, 128);
/* oklch */ color: oklch(39.7% 0.174 319.0);
Tailwind
colors: {
  custom: {
    50: '#9a5fa5',
    500: '#6c1480',
    950: '#000000',
  },
}
SCSS
$custom: #6c1480;
$custom-light: #9a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1480",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 288.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.17361,
    "h": 319
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#6C1480
secondary
#51B53B
accent
#F0385A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C1480

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

Preview Lab → · Contrast checker → · Palette generator →

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