#6F1167#6F1167

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

Color values

HEX#6F1167
RGBrgb(111, 17, 103)
HSLhsl(305, 73%, 25%)
HSVhsv(305, 85%, 44%)
CMYKcmyk(0%, 84.7%, 7.2%, 56.5%)
CIE-LABlab(26.04, 48.40, -26.66)
CIE-LCHlch(26.04, 55.25, 331.15°)
OKLaboklab(38.34% 0.1391 -0.0734)
OKLCHoklch(38.34% 0.157 332.2)
XYZxyz(9.2042, 4.7605, 13.2634)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1167 #116F19
analogous
#48116F #6F1167 #6F1138
triadic
#6F1167 #676F11 #11676F
tetradic
#6F1167 #6F4811 #116F19 #11386F
square
#6F1167 #6F4811 #116F19 #11386F
split-complementary
#6F1167 #386F11 #116F48
monochromatic
#1B0419 #3A0936 #6F1167 #A41998 #D921C9

Accessibility & contrast

On white

10.76
#6F1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1167
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1167#FFFFFF#000000##FFFFFF
##6F11671.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083569
Deuteranopia (green-blind)
#324265
Tritanopia (blue-blind)
#741E3C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6f1167;
/* rgb */ color: rgb(111, 17, 103);
/* oklch */ color: oklch(38.3% 0.157 332.2);
Tailwind
colors: {
  custom: {
    50: '#9c5d93',
    500: '#6f1167',
    950: '#000000',
  },
}
SCSS
$custom: #6f1167;
$custom-light: #9c5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1167",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 305.106,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.15727,
    "h": 332.2
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#6F1167
secondary
#35A63F
accent
#F04738
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F1167

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

Preview Lab → · Contrast checker → · Palette generator →

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