#6C1566#6C1566

#6C1566 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.151 H 331.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#6C1566
RGBrgb(108, 21, 102)
HSLhsl(304, 67%, 25%)
HSVhsv(304, 81%, 42%)
CMYKcmyk(0%, 80.6%, 5.6%, 57.6%)
CIE-LABlab(25.82, 46.39, -26.40)
CIE-LCHlch(25.82, 53.37, 330.36°)
OKLaboklab(38.05% 0.1324 -0.0728)
OKLCHoklch(38.05% 0.151 331.2)
XYZxyz(8.8508, 4.6845, 13.0058)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1566 #156C1B
analogous
#46156C #6C1566 #6C153A
triadic
#6C1566 #666C15 #15666C
tetradic
#6C1566 #6C4615 #156C1B #153A6C
square
#6C1566 #6C4615 #156C1B #153A6C
split-complementary
#6C1566 #3A6C15 #156C46
monochromatic
#1A0518 #390B36 #6C1566 #9F1F96 #D229C7

Accessibility & contrast

On white

10.84
#6C1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6C1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1566
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1566#FFFFFF#000000##FFFFFF
##6C15661.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3668
Deuteranopia (green-blind)
#314164
Tritanopia (blue-blind)
#71213D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c1566;
/* rgb */ color: rgb(108, 21, 102);
/* oklch */ color: oklch(38.1% 0.151 331.2);
Tailwind
colors: {
  custom: {
    50: '#995e92',
    500: '#6c1566',
    950: '#000000',
  },
}
SCSS
$custom: #6c1566;
$custom-light: #995e92;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1566",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 304.138,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.1511,
    "h": 331.2
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#6C1566
secondary
#3AA341
accent
#EA493D
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C1566

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

Preview Lab → · Contrast checker → · Palette generator →

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