#6F168D#6F168D

#6F168D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.184 H 315.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6F168D
RGBrgb(111, 22, 141)
HSLhsl(285, 73%, 32%)
HSVhsv(285, 84%, 55%)
CMYKcmyk(21.3%, 84.4%, 0%, 44.7%)
CIE-LABlab(29.10, 53.97, -45.87)
CIE-LCHlch(29.10, 70.83, 319.64°)
OKLaboklab(41.32% 0.1309 -0.1296)
OKLCHoklch(41.32% 0.184 315.3)
XYZxyz(11.6494, 5.8769, 25.7148)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F168D #348D16
analogous
#34168D #6F168D #8D1670
triadic
#6F168D #8D6F16 #168D6F
tetradic
#6F168D #8D3416 #348D16 #16708D
square
#6F168D #8D3416 #348D16 #16708D
split-complementary
#6F168D #708D16 #168D34
monochromatic
#1C0523 #450E58 #6F168D #991EC2 #B73DE1

Accessibility & contrast

On white

9.65
#6F168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6F168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F168D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F168D#FFFFFF#000000##FFFFFF
##6F168D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#6C3453
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f168d;
/* rgb */ color: rgb(111, 22, 141);
/* oklch */ color: oklch(41.3% 0.184 315.3);
Tailwind
colors: {
  custom: {
    50: '#9d61af',
    500: '#6f168d',
    950: '#000000',
  },
}
SCSS
$custom: #6f168d;
$custom-light: #9d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f168d",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 284.874,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.18422,
    "h": 315.3
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#6F168D
secondary
#5FC13E
accent
#F03866
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F168D

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

Preview Lab → · Contrast checker → · Palette generator →

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