#6B1071#6B1071

#6B1071 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.164 H 325.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#6B1071
RGBrgb(107, 16, 113)
HSLhsl(296, 75%, 25%)
HSVhsv(296, 86%, 44%)
CMYKcmyk(5.3%, 85.8%, 0%, 55.7%)
CIE-LABlab(25.83, 49.51, -33.50)
CIE-LCHlch(25.83, 59.78, 325.91°)
OKLaboklab(38.25% 0.1348 -0.0934)
OKLCHoklch(38.25% 0.164 325.3)
XYZxyz(9.2291, 4.6893, 16.0386)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1071 #167110
analogous
#3B1071 #6B1071 #711046
triadic
#6B1071 #716B10 #10716B
tetradic
#6B1071 #713B10 #167110 #104671
square
#6B1071 #713B10 #167110 #104671
split-complementary
#6B1071 #467110 #10713B
monochromatic
#19041B #38083B #6B1071 #9E18A7 #D11FDC

Accessibility & contrast

On white

10.84
#6B1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6B1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1071
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1071#FFFFFF#000000##FFFFFF
##6B10711.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#6E2442
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b1071;
/* rgb */ color: rgb(107, 16, 113);
/* oklch */ color: oklch(38.3% 0.164 325.3);
Tailwind
colors: {
  custom: {
    50: '#995d9a',
    500: '#6b1071',
    950: '#000000',
  },
}
SCSS
$custom: #6b1071;
$custom-light: #995d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1071",
  "rgb": {
    "r": 107,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 296.289,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.16406,
    "h": 325.3
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#6B1071
secondary
#3BA934
accent
#F23642
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1071

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

Preview Lab → · Contrast checker → · Palette generator →

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