#6B1776#6B1776

#6B1776 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.162 H 322.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#6B1776
RGBrgb(107, 23, 118)
HSLhsl(293, 67%, 28%)
HSVhsv(293, 81%, 46%)
CMYKcmyk(9.3%, 80.5%, 0%, 53.7%)
CIE-LABlab(26.87, 48.39, -35.04)
CIE-LCHlch(26.87, 59.75, 324.09°)
OKLaboklab(39.09% 0.1288 -0.098)
OKLCHoklch(39.09% 0.162 322.7)
XYZxyz(9.6395, 5.0472, 17.6025)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1776 #227617
analogous
#3C1776 #6B1776 #761751
triadic
#6B1776 #766B17 #17766B
tetradic
#6B1776 #763C17 #227617 #175176
square
#6B1776 #763C17 #227617 #175176
split-complementary
#6B1776 #517617 #17763C
monochromatic
#17051A #3D0D43 #6B1776 #9921A9 #C431D7

Accessibility & contrast

On white

10.45
#6B1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1776
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1776#FFFFFF#000000##FFFFFF
##6B17761.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#6D2A46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1776;
/* rgb */ color: rgb(107, 23, 118);
/* oklch */ color: oklch(39.1% 0.162 322.7);
Tailwind
colors: {
  custom: {
    50: '#995f9e',
    500: '#6b1776',
    950: '#000000',
  },
}
SCSS
$custom: #6b1776;
$custom-light: #995f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1776",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 293.053,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.16181,
    "h": 322.7
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#6B1776
secondary
#4AAB3E
accent
#EA3E52
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1776

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

Preview Lab → · Contrast checker → · Palette generator →

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