#6F1977#6F1977

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

Color values

HEX#6F1977
RGBrgb(111, 25, 119)
HSLhsl(295, 65%, 28%)
HSVhsv(295, 79%, 47%)
CMYKcmyk(6.7%, 79%, 0%, 53.3%)
CIE-LABlab(27.86, 48.79, -34.04)
CIE-LCHlch(27.86, 59.49, 325.09°)
OKLaboklab(39.96% 0.1318 -0.095)
OKLCHoklch(39.96% 0.162 324.2)
XYZxyz(10.2327, 5.4073, 17.9539)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1977 #217719
analogous
#401977 #6F1977 #771950
triadic
#6F1977 #776F19 #19776F
tetradic
#6F1977 #774019 #217719 #195077
square
#6F1977 #774019 #217719 #195077
split-complementary
#6F1977 #507719 #197740
monochromatic
#180519 #400E44 #6F1977 #9E24AA #C736D5

Accessibility & contrast

On white

10.09
#6F1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1977
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1977#FFFFFF#000000##FFFFFF
##6F19771.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#2C4575
Tritanopia (blue-blind)
#712B47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f1977;
/* rgb */ color: rgb(111, 25, 119);
/* oklch */ color: oklch(40.0% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#9c619f',
    500: '#6f1977',
    950: '#000000',
  },
}
SCSS
$custom: #6f1977;
$custom-light: #9c619f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1977",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 294.894,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.16241,
    "h": 324.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#6F1977
secondary
#49AC40
accent
#E8404E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1977

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

Preview Lab → · Contrast checker → · Palette generator →

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