#6F1779#6F1779

#6F1779 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.166 H 323.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#6F1779
RGBrgb(111, 23, 121)
HSLhsl(294, 68%, 28%)
HSVhsv(294, 81%, 47%)
CMYKcmyk(8.3%, 81%, 0%, 52.5%)
CIE-LABlab(27.77, 49.80, -35.46)
CIE-LCHlch(27.77, 61.14, 324.55°)
OKLaboklab(39.93% 0.1334 -0.0991)
OKLCHoklch(39.93% 0.166 323.4)
XYZxyz(10.3128, 5.3734, 18.5794)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1779 #217917
analogous
#3E1779 #6F1779 #791752
triadic
#6F1779 #796F17 #17796F
tetradic
#6F1779 #793E17 #217917 #175279
square
#6F1779 #793E17 #217917 #175279
split-complementary
#6F1779 #527917 #17793E
monochromatic
#18051A #400D46 #6F1779 #9E21AC #C732D8

Accessibility & contrast

On white

10.12
#6F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6F1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1779
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1779#FFFFFF#000000##FFFFFF
##6F17791.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#294577
Tritanopia (blue-blind)
#712B48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f1779;
/* rgb */ color: rgb(111, 23, 121);
/* oklch */ color: oklch(39.9% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#9c60a0',
    500: '#6f1779',
    950: '#000000',
  },
}
SCSS
$custom: #6f1779;
$custom-light: #9c60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1779",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 293.878,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.16614,
    "h": 323.4
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#6F1779
secondary
#49AE3E
accent
#EB3D4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050F
muted
#7E7A7E

Preview Lab

Preview with #6F1779

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

Preview Lab → · Contrast checker → · Palette generator →

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