#6B1779#6B1779

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

Color values

HEX#6B1779
RGBrgb(107, 23, 121)
HSLhsl(291, 68%, 28%)
HSVhsv(291, 81%, 47%)
CMYKcmyk(11.6%, 81%, 0%, 52.5%)
CIE-LABlab(27.07, 48.96, -36.62)
CIE-LCHlch(27.07, 61.14, 323.21°)
OKLaboklab(39.3% 0.1285 -0.1026)
OKLCHoklch(39.3% 0.164 321.4)
XYZxyz(9.8206, 5.1196, 18.5564)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1779 #257917
analogous
#3A1779 #6B1779 #791756
triadic
#6B1779 #796B17 #17796B
tetradic
#6B1779 #793A17 #257917 #175679
square
#6B1779 #793A17 #257917 #175679
split-complementary
#6B1779 #567917 #17793A
monochromatic
#17051A #3E0D46 #6B1779 #9821AC #C032D8

Accessibility & contrast

On white

10.38
#6B1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1779
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1779#FFFFFF#000000##FFFFFF
##6B17791.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#6C2B48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1779;
/* rgb */ color: rgb(107, 23, 121);
/* oklch */ color: oklch(39.3% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#995fa0',
    500: '#6b1779',
    950: '#000000',
  },
}
SCSS
$custom: #6b1779;
$custom-light: #995fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1779",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 291.429,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.16441,
    "h": 321.4
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#6B1779
secondary
#4EAE3E
accent
#EB3D56
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6B1779

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

Preview Lab → · Contrast checker → · Palette generator →

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