#6F1778#6F1778

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

Color values

HEX#6F1778
RGBrgb(111, 23, 120)
HSLhsl(294, 68%, 28%)
HSVhsv(294, 81%, 47%)
CMYKcmyk(7.5%, 80.8%, 0%, 52.9%)
CIE-LABlab(27.71, 49.62, -34.93)
CIE-LCHlch(27.71, 60.68, 324.85°)
OKLaboklab(39.87% 0.1334 -0.0975)
OKLCHoklch(39.87% 0.165 323.8)
XYZxyz(10.2518, 5.3490, 18.2581)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1778 #207817
analogous
#3E1778 #6F1778 #781750
triadic
#6F1778 #786F17 #17786F
tetradic
#6F1778 #783E17 #207817 #175078
square
#6F1778 #783E17 #207817 #175078
split-complementary
#6F1778 #507817 #17783E
monochromatic
#18051A #3F0D45 #6F1778 #9F21AB #C832D8

Accessibility & contrast

On white

10.15
#6F1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1778
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1778#FFFFFF#000000##FFFFFF
##6F17781.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#2A4576
Tritanopia (blue-blind)
#712A47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1778;
/* rgb */ color: rgb(111, 23, 120);
/* oklch */ color: oklch(39.9% 0.165 323.8);
Tailwind
colors: {
  custom: {
    50: '#9c609f',
    500: '#6f1778',
    950: '#000000',
  },
}
SCSS
$custom: #6f1778;
$custom-light: #9c609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1778",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 294.433,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.16529,
    "h": 323.8
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#6F1778
secondary
#48AD3E
accent
#EB3D4D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1778

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

Preview Lab → · Contrast checker → · Palette generator →

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