#6F1173#6F1173

#6F1173 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.167 H 326.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#6F1173
RGBrgb(111, 17, 115)
HSLhsl(298, 74%, 26%)
HSVhsv(298, 85%, 45%)
CMYKcmyk(3.5%, 85.2%, 0%, 54.9%)
CIE-LABlab(26.79, 50.43, -33.21)
CIE-LCHlch(26.79, 60.38, 326.63°)
OKLaboklab(39.11% 0.1386 -0.0925)
OKLCHoklch(39.11% 0.167 326.3)
XYZxyz(9.8503, 5.0189, 16.6663)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1173 #157311
analogous
#3E1173 #6F1173 #731146
triadic
#6F1173 #736F11 #11736F
tetradic
#6F1173 #733E11 #157311 #114673
square
#6F1173 #733E11 #157311 #114673
split-complementary
#6F1173 #467311 #11733E
monochromatic
#1A041B #3C093E #6F1173 #A219A8 #D621DE

Accessibility & contrast

On white

10.48
#6F1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6F1173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1173
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1173#FFFFFF#000000##FFFFFF
##6F11731.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#2B4371
Tritanopia (blue-blind)
#722443
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f1173;
/* rgb */ color: rgb(111, 17, 115);
/* oklch */ color: oklch(39.1% 0.167 326.3);
Tailwind
colors: {
  custom: {
    50: '#9c5e9c',
    500: '#6f1173',
    950: '#000000',
  },
}
SCSS
$custom: #6f1173;
$custom-light: #9c5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1173",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 297.551,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.16662,
    "h": 326.3
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#6F1173
secondary
#3AAA36
accent
#F1373F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1173

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

Preview Lab → · Contrast checker → · Palette generator →

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