#6C1580#6C1580

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

Color values

HEX#6C1580
RGBrgb(108, 21, 128)
HSLhsl(289, 72%, 29%)
HSVhsv(289, 84%, 50%)
CMYKcmyk(15.6%, 83.6%, 0%, 49.8%)
CIE-LABlab(27.53, 51.13, -40.31)
CIE-LCHlch(27.53, 65.11, 321.75°)
OKLaboklab(39.81% 0.1303 -0.1134)
OKLCHoklch(39.81% 0.173 319)
XYZxyz(10.3483, 5.2835, 20.8926)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1580 #298015
analogous
#371580 #6C1580 #80155F
triadic
#6C1580 #806C15 #15806C
tetradic
#6C1580 #803715 #298015 #155F80
square
#6C1580 #803715 #298015 #155F80
split-complementary
#6C1580 #5F8015 #158037
monochromatic
#16041A #400C4B #6C1580 #981EB5 #BD32DD

Accessibility & contrast

On white

10.21
#6C1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6C1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1580
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1580#FFFFFF#000000##FFFFFF
##6C15801.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1580;
/* rgb */ color: rgb(108, 21, 128);
/* oklch */ color: oklch(39.8% 0.173 319.0);
Tailwind
colors: {
  custom: {
    50: '#9a5fa5',
    500: '#6c1580',
    950: '#000000',
  },
}
SCSS
$custom: #6c1580;
$custom-light: #9a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1580",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 288.785,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.17274,
    "h": 319
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#6C1580
secondary
#53B53C
accent
#EF395B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C1580

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

Preview Lab → · Contrast checker → · Palette generator →

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