#6F1B79#6F1B79

#6F1B79 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.162 H 323.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6F1B79
RGBrgb(111, 27, 121)
HSLhsl(294, 64%, 29%)
HSVhsv(294, 78%, 47%)
CMYKcmyk(8.3%, 77.7%, 0%, 52.5%)
CIE-LABlab(28.23, 48.48, -34.72)
CIE-LCHlch(28.23, 59.63, 324.39°)
OKLaboklab(40.26% 0.1297 -0.097)
OKLCHoklch(40.26% 0.162 323.2)
XYZxyz(10.3983, 5.5445, 18.6079)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B79 #25791B
analogous
#401B79 #6F1B79 #791B54
triadic
#6F1B79 #796F1B #1B796F
tetradic
#6F1B79 #79401B #25791B #1B5479
square
#6F1B79 #79401B #25791B #1B5479
split-complementary
#6F1B79 #54791B #1B7940
monochromatic
#170619 #411047 #6F1B79 #9D26AB #C33BD3

Accessibility & contrast

On white

9.96
#6F1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6F1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B79
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B79#FFFFFF#000000##FFFFFF
##6F1B791.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#2B4677
Tritanopia (blue-blind)
#712D49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1b79;
/* rgb */ color: rgb(111, 27, 121);
/* oklch */ color: oklch(40.3% 0.162 323.2);
Tailwind
colors: {
  custom: {
    50: '#9c62a0',
    500: '#6f1b79',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b79;
$custom-light: #9c62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b79",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 293.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.16197,
    "h": 323.2
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#6F1B79
secondary
#4EAD43
accent
#E74153
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050F
muted
#7E7A7E

Preview Lab

Preview with #6F1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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