#6B1D79#6B1D79

#6B1D79 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.158 H 321.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6B1D79
RGBrgb(107, 29, 121)
HSLhsl(291, 61%, 29%)
HSVhsv(291, 76%, 47%)
CMYKcmyk(11.6%, 76%, 0%, 52.5%)
CIE-LABlab(27.81, 46.86, -35.45)
CIE-LCHlch(27.81, 58.75, 322.89°)
OKLaboklab(39.82% 0.1228 -0.0992)
OKLCHoklch(39.82% 0.158 321.1)
XYZxyz(9.9536, 5.3855, 18.6007)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D79 #2B791D
analogous
#3D1D79 #6B1D79 #791D59
triadic
#6B1D79 #796B1D #1D796B
tetradic
#6B1D79 #793D1D #2B791D #1D5979
square
#6B1D79 #793D1D #2B791D #1D5979
split-complementary
#6B1D79 #59791D #1D793D
monochromatic
#160619 #3F1148 #6B1D79 #9729AA #BB3FD1

Accessibility & contrast

On white

10.11
#6B1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6B1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1D79
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D79#FFFFFF#000000##FFFFFF
##6B1D791.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#284477
Tritanopia (blue-blind)
#6C2F49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1d79;
/* rgb */ color: rgb(107, 29, 121);
/* oklch */ color: oklch(39.8% 0.158 321.1);
Tailwind
colors: {
  custom: {
    50: '#9962a0',
    500: '#6b1d79',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d79;
$custom-light: #9962a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d79",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 290.87,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.15788,
    "h": 321.1
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#6B1D79
secondary
#55AD45
accent
#E4435C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6B1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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