#6B1C8D#6B1C8D

#6B1C8D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.177 H 313.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6B1C8D
RGBrgb(107, 28, 141)
HSLhsl(282, 67%, 33%)
HSVhsv(282, 80%, 55%)
CMYKcmyk(24.1%, 80.1%, 0%, 44.7%)
CIE-LABlab(29.11, 51.33, -45.89)
CIE-LCHlch(29.11, 68.85, 318.20°)
OKLaboklab(41.2% 0.1209 -0.1298)
OKLCHoklch(41.2% 0.177 313)
XYZxyz(11.2855, 5.8797, 25.7346)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C8D #3E8D1C
analogous
#321C8D #6B1C8D #8D1C76
triadic
#6B1C8D #8D6B1C #1C8D6B
tetradic
#6B1C8D #8D321C #3E8D1C #1C768D
square
#6B1C8D #8D321C #3E8D1C #1C768D
split-complementary
#6B1C8D #768D1C #1C8D32
monochromatic
#1E0827 #44125A #6B1C8D #9226C0 #AF49DB

Accessibility & contrast

On white

9.65
#6B1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6B1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1C8D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C8D#FFFFFF#000000##FFFFFF
##6B1C8D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#673754
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1c8d;
/* rgb */ color: rgb(107, 28, 141);
/* oklch */ color: oklch(41.2% 0.177 313.0);
Tailwind
colors: {
  custom: {
    50: '#9a62af',
    500: '#6b1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c8d;
$custom-light: #9a62af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c8d",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 281.947,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.17738,
    "h": 313
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#6B1C8D
secondary
#6BBD48
accent
#EA3E72
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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