#6F1168#6F1168

#6F1168 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.158 H 331.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#6F1168
RGBrgb(111, 17, 104)
HSLhsl(304, 73%, 25%)
HSVhsv(304, 85%, 44%)
CMYKcmyk(0%, 84.7%, 6.3%, 56.5%)
CIE-LABlab(26.10, 48.56, -27.21)
CIE-LCHlch(26.10, 55.66, 330.73°)
OKLaboklab(38.4% 0.1391 -0.075)
OKLCHoklch(38.4% 0.158 331.6)
XYZxyz(9.2547, 4.7807, 13.5294)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1168 #116F18
analogous
#47116F #6F1168 #6F1139
triadic
#6F1168 #686F11 #11686F
tetradic
#6F1168 #6F4711 #116F18 #11396F
square
#6F1168 #6F4711 #116F18 #11396F
split-complementary
#6F1168 #396F11 #116F47
monochromatic
#1B0419 #3A0936 #6F1168 #A4199A #D921CB

Accessibility & contrast

On white

10.74
#6F1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6F1168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1168
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1168#FFFFFF#000000##FFFFFF
##6F11681.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366A
Deuteranopia (green-blind)
#324266
Tritanopia (blue-blind)
#741E3D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f1168;
/* rgb */ color: rgb(111, 17, 104);
/* oklch */ color: oklch(38.4% 0.158 331.6);
Tailwind
colors: {
  custom: {
    50: '#9c5d93',
    500: '#6f1168',
    950: '#000000',
  },
}
SCSS
$custom: #6f1168;
$custom-light: #9c5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1168",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 304.468,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38402,
    "c": 0.15802,
    "h": 331.6
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#6F1168
secondary
#35A63E
accent
#F04538
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1168

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

Preview Lab → · Contrast checker → · Palette generator →

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