#6B1371#6B1371

#6B1371 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.161 H 325.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#6B1371
RGBrgb(107, 19, 113)
HSLhsl(296, 71%, 26%)
HSVhsv(296, 83%, 44%)
CMYKcmyk(5.3%, 83.2%, 0%, 55.7%)
CIE-LABlab(26.11, 48.69, -33.05)
CIE-LCHlch(26.11, 58.85, 325.83°)
OKLaboklab(38.45% 0.1326 -0.0922)
OKLCHoklch(38.45% 0.161 325.2)
XYZxyz(9.2767, 4.7844, 16.0545)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1371 #197113
analogous
#3C1371 #6B1371 #711348
triadic
#6B1371 #716B13 #13716B
tetradic
#6B1371 #713C13 #197113 #134871
square
#6B1371 #713C13 #197113 #134871
split-complementary
#6B1371 #487113 #13713C
monochromatic
#19041A #390A3D #6B1371 #9D1CA5 #CE25DA

Accessibility & contrast

On white

10.73
#6B1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6B1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1371
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1371#FFFFFF#000000##FFFFFF
##6B13711.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#29416F
Tritanopia (blue-blind)
#6E2543
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1371;
/* rgb */ color: rgb(107, 19, 113);
/* oklch */ color: oklch(38.5% 0.161 325.2);
Tailwind
colors: {
  custom: {
    50: '#995e9a',
    500: '#6b1371',
    950: '#000000',
  },
}
SCSS
$custom: #6b1371;
$custom-light: #995e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1371",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 296.17,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.16146,
    "h": 325.2
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#6B1371
secondary
#3FA838
accent
#EE3A45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1371

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

Preview Lab → · Contrast checker → · Palette generator →

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