#6B1678#6B1678

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

Color values

HEX#6B1678
RGBrgb(107, 22, 120)
HSLhsl(292, 69%, 28%)
HSVhsv(292, 82%, 47%)
CMYKcmyk(10.8%, 81.7%, 0%, 52.9%)
CIE-LABlab(26.89, 49.09, -36.27)
CIE-LCHlch(26.89, 61.04, 323.54°)
OKLaboklab(39.16% 0.1294 -0.1016)
OKLCHoklch(39.16% 0.165 321.9)
XYZxyz(9.7401, 5.0562, 18.2286)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1678 #237816
analogous
#3A1678 #6B1678 #781654
triadic
#6B1678 #786B16 #16786B
tetradic
#6B1678 #783A16 #237816 #165478
square
#6B1678 #783A16 #237816 #165478
split-complementary
#6B1678 #547816 #16783A
monochromatic
#17051A #3D0D44 #6B1678 #991FAC #C22FD9

Accessibility & contrast

On white

10.44
#6B1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1678
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1678#FFFFFF#000000##FFFFFF
##6B16781.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.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: #6b1678;
/* rgb */ color: rgb(107, 22, 120);
/* oklch */ color: oklch(39.2% 0.165 321.9);
Tailwind
colors: {
  custom: {
    50: '#995f9f',
    500: '#6b1678',
    950: '#000000',
  },
}
SCSS
$custom: #6b1678;
$custom-light: #995f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1678",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 292.041,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.16452,
    "h": 321.9
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#6B1678
secondary
#4BAD3C
accent
#EC3C53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1678

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

Preview Lab → · Contrast checker → · Palette generator →

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