#6F1978#6F1978

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

Color values

HEX#6F1978
RGBrgb(111, 25, 120)
HSLhsl(294, 66%, 28%)
HSVhsv(294, 79%, 47%)
CMYKcmyk(7.5%, 79.2%, 0%, 52.9%)
CIE-LABlab(27.93, 48.97, -34.57)
CIE-LCHlch(27.93, 59.95, 324.78°)
OKLaboklab(40.03% 0.1317 -0.0965)
OKLCHoklch(40.03% 0.163 323.8)
XYZxyz(10.2930, 5.4315, 18.2719)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1978 #227819
analogous
#3F1978 #6F1978 #781951
triadic
#6F1978 #786F19 #19786F
tetradic
#6F1978 #783F19 #227819 #195178
square
#6F1978 #783F19 #227819 #195178
split-complementary
#6F1978 #517819 #19783F
monochromatic
#170519 #400E45 #6F1978 #9E24AB #C636D5

Accessibility & contrast

On white

10.07
#6F1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6F1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1978
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1978#FFFFFF#000000##FFFFFF
##6F19781.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1978;
/* rgb */ color: rgb(111, 25, 120);
/* oklch */ color: oklch(40.0% 0.163 323.8);
Tailwind
colors: {
  custom: {
    50: '#9c619f',
    500: '#6f1978',
    950: '#000000',
  },
}
SCSS
$custom: #6f1978;
$custom-light: #9c619f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1978",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 294.316,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.16327,
    "h": 323.8
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#6F1978
secondary
#4AAD40
accent
#E83F4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1978

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

Preview Lab → · Contrast checker → · Palette generator →

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