#6F1166#6F1166

#6F1166 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.157 H 332.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#6F1166
RGBrgb(111, 17, 102)
HSLhsl(306, 73%, 25%)
HSVhsv(306, 85%, 44%)
CMYKcmyk(0%, 84.7%, 8.1%, 56.5%)
CIE-LABlab(25.98, 48.23, -26.10)
CIE-LCHlch(25.98, 54.84, 331.58°)
OKLaboklab(38.28% 0.1391 -0.0718)
OKLCHoklch(38.28% 0.157 332.7)
XYZxyz(9.1543, 4.7405, 13.0007)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1166 #116F1A
analogous
#49116F #6F1166 #6F1137
triadic
#6F1166 #666F11 #11666F
tetradic
#6F1166 #6F4911 #116F1A #11376F
square
#6F1166 #6F4911 #116F1A #11376F
split-complementary
#6F1166 #376F11 #116F49
monochromatic
#1B0418 #3A0935 #6F1166 #A41997 #D921C8

Accessibility & contrast

On white

10.78
#6F1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6F1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1166
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1166#FFFFFF#000000##FFFFFF
##6F11661.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#334264
Tritanopia (blue-blind)
#741D3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6f1166;
/* rgb */ color: rgb(111, 17, 102);
/* oklch */ color: oklch(38.3% 0.157 332.7);
Tailwind
colors: {
  custom: {
    50: '#9c5d92',
    500: '#6f1166',
    950: '#000000',
  },
}
SCSS
$custom: #6f1166;
$custom-light: #9c5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1166",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 305.745,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38279,
    "c": 0.15651,
    "h": 332.7
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#6F1166
secondary
#35A640
accent
#F04938
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1166

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

Preview Lab → · Contrast checker → · Palette generator →

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