#6C1564#6C1564

#6C1564 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.150 H 332.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#6C1564
RGBrgb(108, 21, 100)
HSLhsl(306, 67%, 25%)
HSVhsv(306, 81%, 42%)
CMYKcmyk(0%, 80.6%, 7.4%, 57.6%)
CIE-LABlab(25.70, 46.05, -25.28)
CIE-LCHlch(25.70, 52.54, 331.23°)
OKLaboklab(37.93% 0.1324 -0.0695)
OKLCHoklch(37.93% 0.15 332.3)
XYZxyz(8.7528, 4.6453, 12.4898)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1564 #156C1D
analogous
#48156C #6C1564 #6C1539
triadic
#6C1564 #646C15 #15646C
tetradic
#6C1564 #6C4815 #156C1D #15396C
square
#6C1564 #6C4815 #156C1D #15396C
split-complementary
#6C1564 #396C15 #156C48
monochromatic
#1A0518 #390B35 #6C1564 #9F1F93 #D229C3

Accessibility & contrast

On white

10.89
#6C1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6C1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1564
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1564#FFFFFF#000000##FFFFFF
##6C15641.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3566
Deuteranopia (green-blind)
#324162
Tritanopia (blue-blind)
#711F3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c1564;
/* rgb */ color: rgb(108, 21, 100);
/* oklch */ color: oklch(37.9% 0.150 332.3);
Tailwind
colors: {
  custom: {
    50: '#995e90',
    500: '#6c1564',
    950: '#000000',
  },
}
SCSS
$custom: #6c1564;
$custom-light: #995e90;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1564",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 305.517,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.14953,
    "h": 332.3
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#6C1564
secondary
#3AA344
accent
#EA4D3D
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C1564

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

Preview Lab → · Contrast checker → · Palette generator →

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