#6C1B79#6C1B79

#6C1B79 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.161 H 321.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6C1B79
RGBrgb(108, 27, 121)
HSLhsl(292, 64%, 29%)
HSVhsv(292, 78%, 47%)
CMYKcmyk(10.7%, 77.7%, 0%, 52.5%)
CIE-LABlab(27.72, 47.82, -35.58)
CIE-LCHlch(27.72, 59.60, 323.35°)
OKLaboklab(39.79% 0.126 -0.0996)
OKLCHoklch(39.79% 0.161 321.7)
XYZxyz(10.0271, 5.3531, 18.5905)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B79 #28791B
analogous
#3D1B79 #6C1B79 #791B57
triadic
#6C1B79 #796C1B #1B796C
tetradic
#6C1B79 #793D1B #28791B #1B5779
square
#6C1B79 #793D1B #28791B #1B5779
split-complementary
#6C1B79 #57791B #1B793D
monochromatic
#160619 #3F1047 #6C1B79 #9926AB #BE3BD3

Accessibility & contrast

On white

10.14
#6C1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6C1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B79
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B79#FFFFFF#000000##FFFFFF
##6C1B791.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#284477
Tritanopia (blue-blind)
#6D2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1b79;
/* rgb */ color: rgb(108, 27, 121);
/* oklch */ color: oklch(39.8% 0.161 321.7);
Tailwind
colors: {
  custom: {
    50: '#9961a0',
    500: '#6c1b79',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b79;
$custom-light: #9961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b79",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 291.702,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.16062,
    "h": 321.7
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#6C1B79
secondary
#51AD43
accent
#E74158
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6C1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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