#6B1877#6B1877

#6B1877 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.162 H 322.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#6B1877
RGBrgb(107, 24, 119)
HSLhsl(292, 66%, 28%)
HSVhsv(292, 80%, 47%)
CMYKcmyk(10.1%, 79.8%, 0%, 53.3%)
CIE-LABlab(27.05, 48.25, -35.39)
CIE-LCHlch(27.05, 59.84, 323.75°)
OKLaboklab(39.24% 0.1278 -0.099)
OKLCHoklch(39.24% 0.162 322.2)
XYZxyz(9.7195, 5.1115, 17.9239)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1877 #247718
analogous
#3B1877 #6B1877 #771853
triadic
#6B1877 #776B18 #18776B
tetradic
#6B1877 #773B18 #247718 #185377
square
#6B1877 #773B18 #247718 #185377
split-complementary
#6B1877 #537718 #18773B
monochromatic
#170519 #3D0E44 #6B1877 #9922AA #C133D6

Accessibility & contrast

On white

10.38
#6B1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6B1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1877
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1877#FFFFFF#000000##FFFFFF
##6B18771.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#6C2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1877;
/* rgb */ color: rgb(107, 24, 119);
/* oklch */ color: oklch(39.2% 0.162 322.2);
Tailwind
colors: {
  custom: {
    50: '#99609f',
    500: '#6b1877',
    950: '#000000',
  },
}
SCSS
$custom: #6b1877;
$custom-light: #99609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1877",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 292.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39243,
    "c": 0.16165,
    "h": 322.2
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#6B1877
secondary
#4DAC3F
accent
#E93E54
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1877

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

Preview Lab → · Contrast checker → · Palette generator →

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