#6B1B79#6B1B79

#6B1B79 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.160 H 321.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6B1B79
RGBrgb(107, 27, 121)
HSLhsl(291, 64%, 29%)
HSVhsv(291, 78%, 47%)
CMYKcmyk(11.6%, 77.7%, 0%, 52.5%)
CIE-LABlab(27.55, 47.60, -35.86)
CIE-LCHlch(27.55, 59.59, 323.01°)
OKLaboklab(39.64% 0.1248 -0.1004)
OKLCHoklch(39.64% 0.16 321.2)
XYZxyz(9.9061, 5.2907, 18.5849)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B79 #29791B
analogous
#3C1B79 #6B1B79 #791B58
triadic
#6B1B79 #796B1B #1B796B
tetradic
#6B1B79 #793C1B #29791B #1B5879
square
#6B1B79 #793C1B #29791B #1B5879
split-complementary
#6B1B79 #58791B #1B793C
monochromatic
#160619 #3F1047 #6B1B79 #9726AB #BD3BD3

Accessibility & contrast

On white

10.20
#6B1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6B1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B79
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B79#FFFFFF#000000##FFFFFF
##6B1B791.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#6C2E49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1b79;
/* rgb */ color: rgb(107, 27, 121);
/* oklch */ color: oklch(39.6% 0.160 321.2);
Tailwind
colors: {
  custom: {
    50: '#9961a0',
    500: '#6b1b79',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b79;
$custom-light: #9961a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b79",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 291.064,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.16018,
    "h": 321.2
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#6B1B79
secondary
#52AD43
accent
#E7415A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6B1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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