#6C1584#6C1584

#6C1584 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.176 H 317.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6C1584
RGBrgb(108, 21, 132)
HSLhsl(287, 73%, 30%)
HSVhsv(287, 84%, 52%)
CMYKcmyk(18.2%, 84.1%, 0%, 48.2%)
CIE-LABlab(27.82, 51.92, -42.35)
CIE-LCHlch(27.82, 67.00, 320.80°)
OKLaboklab(40.11% 0.1296 -0.1194)
OKLCHoklch(40.11% 0.176 317.4)
XYZxyz(10.6168, 5.3909, 22.3066)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1584 #2D8415
analogous
#341584 #6C1584 #841565
triadic
#6C1584 #846C15 #15846C
tetradic
#6C1584 #843415 #2D8415 #156584
square
#6C1584 #843415 #2D8415 #156584
split-complementary
#6C1584 #658415 #158434
monochromatic
#16041A #410D4F #6C1584 #971DB9 #BA35DF

Accessibility & contrast

On white

10.11
#6C1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6C1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1584
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1584#FFFFFF#000000##FFFFFF
##6C15841.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#6B304E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1584;
/* rgb */ color: rgb(108, 21, 132);
/* oklch */ color: oklch(40.1% 0.176 317.4);
Tailwind
colors: {
  custom: {
    50: '#9a5fa8',
    500: '#6c1584',
    950: '#000000',
  },
}
SCSS
$custom: #6c1584;
$custom-light: #9a5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1584",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 287.027,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.1762,
    "h": 317.4
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#6C1584
secondary
#57B93C
accent
#EF3960
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6C1584

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

Preview Lab → · Contrast checker → · Palette generator →

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