#6B1771#6B1771

#6B1771 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.158 H 325.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#6B1771
RGBrgb(107, 23, 113)
HSLhsl(296, 66%, 27%)
HSVhsv(296, 80%, 44%)
CMYKcmyk(5.3%, 79.6%, 0%, 55.7%)
CIE-LABlab(26.54, 47.46, -32.37)
CIE-LCHlch(26.54, 57.45, 325.70°)
OKLaboklab(38.75% 0.1292 -0.0902)
OKLCHoklch(38.75% 0.158 325.1)
XYZxyz(9.3502, 4.9315, 16.0790)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1771 #1D7117
analogous
#3E1771 #6B1771 #71174A
triadic
#6B1771 #716B17 #17716B
tetradic
#6B1771 #713E17 #1D7117 #174A71
square
#6B1771 #713E17 #1D7117 #174A71
split-complementary
#6B1771 #4A7117 #17713E
monochromatic
#180519 #3B0D3E #6B1771 #9B21A4 #C92ED4

Accessibility & contrast

On white

10.57
#6B1771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6B1771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1771
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1771#FFFFFF#000000##FFFFFF
##6B17711.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#6D2843
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1771;
/* rgb */ color: rgb(107, 23, 113);
/* oklch */ color: oklch(38.8% 0.158 325.1);
Tailwind
colors: {
  custom: {
    50: '#995f9a',
    500: '#6b1771',
    950: '#000000',
  },
}
SCSS
$custom: #6b1771;
$custom-light: #995f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1771",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 296,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.15754,
    "h": 325.1
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#6B1771
secondary
#44A73D
accent
#E93F4A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1771

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

Preview Lab → · Contrast checker → · Palette generator →

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