#6B1778#6B1778

#6B1778 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.164 H 321.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6B1778
RGBrgb(107, 23, 120)
HSLhsl(292, 68%, 28%)
HSVhsv(292, 81%, 47%)
CMYKcmyk(10.8%, 80.8%, 0%, 52.9%)
CIE-LABlab(27.00, 48.77, -36.10)
CIE-LCHlch(27.00, 60.68, 323.50°)
OKLaboklab(39.23% 0.1286 -0.1011)
OKLCHoklch(39.23% 0.164 321.8)
XYZxyz(9.7596, 5.0952, 18.2351)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1778 #247817
analogous
#3A1778 #6B1778 #781754
triadic
#6B1778 #786B17 #17786B
tetradic
#6B1778 #783A17 #247817 #175478
square
#6B1778 #783A17 #247817 #175478
split-complementary
#6B1778 #547817 #17783A
monochromatic
#17051A #3D0D45 #6B1778 #9921AB #C132D8

Accessibility & contrast

On white

10.40
#6B1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6B1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1778
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1778#FFFFFF#000000##FFFFFF
##6B17781.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#6C2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1778;
/* rgb */ color: rgb(107, 23, 120);
/* oklch */ color: oklch(39.2% 0.164 321.8);
Tailwind
colors: {
  custom: {
    50: '#995f9f',
    500: '#6b1778',
    950: '#000000',
  },
}
SCSS
$custom: #6b1778;
$custom-light: #995f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1778",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 291.959,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.16354,
    "h": 321.8
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#6B1778
secondary
#4DAD3E
accent
#EB3D54
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1778

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

Preview Lab → · Contrast checker → · Palette generator →

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