#6C1978#6C1978

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

Color values

HEX#6C1978
RGBrgb(108, 25, 120)
HSLhsl(292, 66%, 28%)
HSVhsv(292, 79%, 47%)
CMYKcmyk(10%, 79.2%, 0%, 52.9%)
CIE-LABlab(27.41, 48.32, -35.44)
CIE-LCHlch(27.41, 59.93, 323.74°)
OKLaboklab(39.55% 0.128 -0.0991)
OKLCHoklch(39.55% 0.162 322.2)
XYZxyz(9.9218, 5.2400, 18.2545)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1978 #257819
analogous
#3C1978 #6C1978 #781954
triadic
#6C1978 #786C19 #19786C
tetradic
#6C1978 #783C19 #257819 #195478
square
#6C1978 #783C19 #257819 #195478
split-complementary
#6C1978 #547819 #19783C
monochromatic
#170519 #3E0E45 #6C1978 #9A24AB #C136D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1978#FFFFFF#000000##FFFFFF
##6C19781.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)
#003B7B
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#6D2C48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1978;
/* rgb */ color: rgb(108, 25, 120);
/* oklch */ color: oklch(39.6% 0.162 322.2);
Tailwind
colors: {
  custom: {
    50: '#99609f',
    500: '#6c1978',
    950: '#000000',
  },
}
SCSS
$custom: #6c1978;
$custom-light: #99609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1978",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 292.421,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.16191,
    "h": 322.2
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#6C1978
secondary
#4EAD40
accent
#E83F55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6C1978

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

Preview Lab → · Contrast checker → · Palette generator →

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