#6B1A76#6B1A76

#6B1A76 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.159 H 322.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#6B1A76
RGBrgb(107, 26, 118)
HSLhsl(293, 64%, 28%)
HSVhsv(293, 78%, 46%)
CMYKcmyk(9.3%, 78%, 0%, 53.7%)
CIE-LABlab(27.22, 47.37, -34.47)
CIE-LCHlch(27.22, 58.59, 323.96°)
OKLaboklab(39.34% 0.126 -0.0964)
OKLCHoklch(39.34% 0.159 322.6)
XYZxyz(9.7025, 5.1732, 17.6235)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A76 #25761A
analogous
#3D1A76 #6B1A76 #761A53
triadic
#6B1A76 #766B1A #1A766B
tetradic
#6B1A76 #763D1A #25761A #1A5376
square
#6B1A76 #763D1A #25761A #1A5376
split-complementary
#6B1A76 #53761A #1A763D
monochromatic
#170619 #3E0F44 #6B1A76 #9825A8 #C037D3

Accessibility & contrast

On white

10.32
#6B1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6B1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A76
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A76#FFFFFF#000000##FFFFFF
##6B1A761.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#6C2C47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1a76;
/* rgb */ color: rgb(107, 26, 118);
/* oklch */ color: oklch(39.3% 0.159 322.6);
Tailwind
colors: {
  custom: {
    50: '#99609e',
    500: '#6b1a76',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a76;
$custom-light: #99609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a76",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 292.826,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.15863,
    "h": 322.6
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#6B1A76
secondary
#4EAB41
accent
#E74155
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6B1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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