#6F1878#6F1878

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

Color values

HEX#6F1878
RGBrgb(111, 24, 120)
HSLhsl(294, 67%, 28%)
HSVhsv(294, 80%, 47%)
CMYKcmyk(7.5%, 80%, 0%, 52.9%)
CIE-LABlab(27.82, 49.30, -34.76)
CIE-LCHlch(27.82, 60.32, 324.82°)
OKLaboklab(39.94% 0.1326 -0.097)
OKLCHoklch(39.94% 0.164 323.8)
XYZxyz(10.2720, 5.3895, 18.2649)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1878 #217818
analogous
#3F1878 #6F1878 #781851
triadic
#6F1878 #786F18 #18786F
tetradic
#6F1878 #783F18 #217818 #185178
square
#6F1878 #783F18 #217818 #185178
split-complementary
#6F1878 #517818 #18783F
monochromatic
#18051A #400E45 #6F1878 #9E22AB #C734D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1878#FFFFFF#000000##FFFFFF
##6F18781.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)
#003B7B
Deuteranopia (green-blind)
#2A4576
Tritanopia (blue-blind)
#712B48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f1878;
/* rgb */ color: rgb(111, 24, 120);
/* oklch */ color: oklch(39.9% 0.164 323.8);
Tailwind
colors: {
  custom: {
    50: '#9c609f',
    500: '#6f1878',
    950: '#000000',
  },
}
SCSS
$custom: #6f1878;
$custom-light: #9c609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1878",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 294.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.16429,
    "h": 323.8
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#6F1878
secondary
#49AD3F
accent
#EA3E4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1878

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

Preview Lab → · Contrast checker → · Palette generator →

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