#6B1A79#6B1A79

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

Color values

HEX#6B1A79
RGBrgb(107, 26, 121)
HSLhsl(291, 65%, 29%)
HSVhsv(291, 79%, 47%)
CMYKcmyk(11.6%, 78.5%, 0%, 52.5%)
CIE-LABlab(27.42, 47.95, -36.06)
CIE-LCHlch(27.42, 60.00, 323.06°)
OKLaboklab(39.55% 0.1258 -0.101)
OKLCHoklch(39.55% 0.161 321.2)
XYZxyz(9.8836, 5.2456, 18.5774)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A79 #28791A
analogous
#3C1A79 #6B1A79 #791A58
triadic
#6B1A79 #796B1A #1A796B
tetradic
#6B1A79 #793C1A #28791A #1A5879
square
#6B1A79 #793C1A #28791A #1A5879
split-complementary
#6B1A79 #58791A #1A793C
monochromatic
#160519 #3E0F47 #6B1A79 #9825AB #BE39D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B1A79#FFFFFF#000000##FFFFFF
##6B1A791.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)
#003B7C
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#6C2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1a79;
/* rgb */ color: rgb(107, 26, 121);
/* oklch */ color: oklch(39.6% 0.161 321.2);
Tailwind
colors: {
  custom: {
    50: '#9961a0',
    500: '#6b1a79',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a79;
$custom-light: #9961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a79",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 291.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39551,
    "c": 0.16128,
    "h": 321.2
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#6B1A79
secondary
#51AD41
accent
#E84059
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6B1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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