#6B1978#6B1978

#6B1978 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.161 H 321.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#6B1978
RGBrgb(107, 25, 120)
HSLhsl(292, 66%, 28%)
HSVhsv(292, 79%, 47%)
CMYKcmyk(10.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(27.24, 48.11, -35.73)
CIE-LCHlch(27.24, 59.92, 323.40°)
OKLaboklab(39.4% 0.1268 -0.1)
OKLCHoklch(39.4% 0.161 321.7)
XYZxyz(9.8008, 5.1777, 18.2488)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1978 #267819
analogous
#3B1978 #6B1978 #781955
triadic
#6B1978 #786B19 #19786B
tetradic
#6B1978 #783B19 #267819 #195578
square
#6B1978 #783B19 #267819 #195578
split-complementary
#6B1978 #557819 #19783B
monochromatic
#170519 #3E0E45 #6B1978 #9824AB #BF36D5

Accessibility & contrast

On white

10.32
#6B1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1978
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1978#FFFFFF#000000##FFFFFF
##6B19781.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#6C2C48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1978;
/* rgb */ color: rgb(107, 25, 120);
/* oklch */ color: oklch(39.4% 0.161 321.7);
Tailwind
colors: {
  custom: {
    50: '#99609f',
    500: '#6b1978',
    950: '#000000',
  },
}
SCSS
$custom: #6b1978;
$custom-light: #99609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1978",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 291.789,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39396,
    "c": 0.16147,
    "h": 321.7
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#6B1978
secondary
#4FAD40
accent
#E83F56
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6B1978

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

Preview Lab → · Contrast checker → · Palette generator →

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