#6F1879#6F1879

#6F1879 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.165 H 323.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6F1879
RGBrgb(111, 24, 121)
HSLhsl(294, 67%, 28%)
HSVhsv(294, 80%, 47%)
CMYKcmyk(8.3%, 80.2%, 0%, 52.5%)
CIE-LABlab(27.88, 49.48, -35.28)
CIE-LCHlch(27.88, 60.78, 324.51°)
OKLaboklab(40.01% 0.1325 -0.0986)
OKLCHoklch(40.01% 0.165 323.3)
XYZxyz(10.3330, 5.4139, 18.5862)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1879 #227918
analogous
#3E1879 #6F1879 #791852
triadic
#6F1879 #796F18 #18796F
tetradic
#6F1879 #793E18 #227918 #185279
square
#6F1879 #793E18 #227918 #185279
split-complementary
#6F1879 #527918 #18793E
monochromatic
#17051A #400E46 #6F1879 #9E22AC #C635D7

Accessibility & contrast

On white

10.08
#6F1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1879
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1879#FFFFFF#000000##FFFFFF
##6F18791.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1879;
/* rgb */ color: rgb(111, 24, 121);
/* oklch */ color: oklch(40.0% 0.165 323.3);
Tailwind
colors: {
  custom: {
    50: '#9c60a0',
    500: '#6f1879',
    950: '#000000',
  },
}
SCSS
$custom: #6f1879;
$custom-light: #9c60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1879",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 293.814,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.16515,
    "h": 323.3
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#6F1879
secondary
#4AAE3F
accent
#EA3E50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050F
muted
#7E7A7E

Preview Lab

Preview with #6F1879

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

Preview Lab → · Contrast checker → · Palette generator →

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