#6F117E#6F117E

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

Color values

HEX#6F117E
RGBrgb(111, 17, 126)
HSLhsl(292, 76%, 28%)
HSVhsv(292, 87%, 49%)
CMYKcmyk(11.9%, 86.5%, 0%, 50.6%)
CIE-LABlab(27.54, 52.41, -39.00)
CIE-LCHlch(27.54, 65.33, 323.34°)
OKLaboklab(39.88% 0.1373 -0.1094)
OKLCHoklch(39.88% 0.176 321.4)
XYZxyz(10.5215, 5.2874, 20.2010)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F117E #207E11
analogous
#38117E #6F117E #7E1156
triadic
#6F117E #7E6F11 #117E6F
tetradic
#6F117E #7E3811 #207E11 #11567E
square
#6F117E #7E3811 #207E11 #11567E
split-complementary
#6F117E #567E11 #117E38
monochromatic
#18041B #3F0A48 #6F117E #9F18B4 #C827E2

Accessibility & contrast

On white

10.21
#6F117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6F117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F117E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F117E#FFFFFF#000000##FFFFFF
##6F117E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#22447C
Tritanopia (blue-blind)
#702A4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f117e;
/* rgb */ color: rgb(111, 17, 126);
/* oklch */ color: oklch(39.9% 0.176 321.4);
Tailwind
colors: {
  custom: {
    50: '#9c5ea4',
    500: '#6f117e',
    950: '#000000',
  },
}
SCSS
$custom: #6f117e;
$custom-light: #9c5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f117e",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 291.743,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.17553,
    "h": 321.4
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#6F117E
secondary
#48B437
accent
#F3354F
background
#FAF5FA
surface
#F3EAF4
border
#CDC6CE
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #6F117E

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

Preview Lab → · Contrast checker → · Palette generator →

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