#6C1A79#6C1A79

#6C1A79 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.162 H 321.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#6C1A79
RGBrgb(108, 26, 121)
HSLhsl(292, 65%, 29%)
HSVhsv(292, 79%, 47%)
CMYKcmyk(10.7%, 78.5%, 0%, 52.5%)
CIE-LABlab(27.59, 48.17, -35.77)
CIE-LCHlch(27.59, 60.00, 323.40°)
OKLaboklab(39.71% 0.127 -0.1001)
OKLCHoklch(39.71% 0.162 321.7)
XYZxyz(10.0046, 5.3080, 18.5830)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A79 #27791A
analogous
#3D1A79 #6C1A79 #791A57
triadic
#6C1A79 #796C1A #1A796C
tetradic
#6C1A79 #793D1A #27791A #1A5779
square
#6C1A79 #793D1A #27791A #1A5779
split-complementary
#6C1A79 #57791A #1A793D
monochromatic
#160519 #3F0F47 #6C1A79 #9925AB #BF39D4

Accessibility & contrast

On white

10.19
#6C1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6C1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A79
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A79#FFFFFF#000000##FFFFFF
##6C1A791.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1a79;
/* rgb */ color: rgb(108, 26, 121);
/* oklch */ color: oklch(39.7% 0.162 321.7);
Tailwind
colors: {
  custom: {
    50: '#9961a0',
    500: '#6c1a79',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a79;
$custom-light: #9961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a79",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 291.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.16172,
    "h": 321.7
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#6C1A79
secondary
#50AD41
accent
#E84057
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6C1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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