#6B1671#6B1671

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

Color values

HEX#6B1671
RGBrgb(107, 22, 113)
HSLhsl(296, 67%, 26%)
HSVhsv(296, 81%, 44%)
CMYKcmyk(5.3%, 80.5%, 0%, 55.7%)
CIE-LABlab(26.43, 47.78, -32.55)
CIE-LCHlch(26.43, 57.82, 325.74°)
OKLaboklab(38.67% 0.1301 -0.0907)
OKLCHoklch(38.67% 0.159 325.1)
XYZxyz(9.3307, 4.8925, 16.0725)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1671 #1C7116
analogous
#3E1671 #6B1671 #71164A
triadic
#6B1671 #716B16 #16716B
tetradic
#6B1671 #713E16 #1C7116 #164A71
square
#6B1671 #713E16 #1C7116 #164A71
split-complementary
#6B1671 #4A7116 #16713E
monochromatic
#18051A #3A0C3E #6B1671 #9C20A4 #CB2CD6

Accessibility & contrast

On white

10.61
#6B1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6B1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1671
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1671#FFFFFF#000000##FFFFFF
##6B16711.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#6E2743
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1671;
/* rgb */ color: rgb(107, 22, 113);
/* oklch */ color: oklch(38.7% 0.159 325.1);
Tailwind
colors: {
  custom: {
    50: '#995f9a',
    500: '#6b1671',
    950: '#000000',
  },
}
SCSS
$custom: #6b1671;
$custom-light: #995f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1671",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 296.044,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.15858,
    "h": 325.1
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#6B1671
secondary
#43A73C
accent
#EA3E49
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1671

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

Preview Lab → · Contrast checker → · Palette generator →

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