#6F168E#6F168E

#6F168E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.185 H 314.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6F168E
RGBrgb(111, 22, 142)
HSLhsl(285, 73%, 32%)
HSVhsv(285, 85%, 56%)
CMYKcmyk(21.8%, 84.5%, 0%, 44.3%)
CIE-LABlab(29.18, 54.17, -46.36)
CIE-LCHlch(29.18, 71.30, 319.44°)
OKLaboklab(41.4% 0.1307 -0.1311)
OKLCHoklch(41.4% 0.185 314.9)
XYZxyz(11.7241, 5.9068, 26.1085)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F168E #358E16
analogous
#33168E #6F168E #8E1671
triadic
#6F168E #8E6F16 #168E6F
tetradic
#6F168E #8E3316 #358E16 #16718E
square
#6F168E #8E3316 #358E16 #16718E
split-complementary
#6F168E #718E16 #168E33
monochromatic
#1C0624 #460E59 #6F168E #981EC3 #B73DE1

Accessibility & contrast

On white

9.63
#6F168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F168E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F168E#FFFFFF#000000##FFFFFF
##6F168E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#6C3454
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f168e;
/* rgb */ color: rgb(111, 22, 142);
/* oklch */ color: oklch(41.4% 0.185 314.9);
Tailwind
colors: {
  custom: {
    50: '#9d61b0',
    500: '#6f168e',
    950: '#000000',
  },
}
SCSS
$custom: #6f168e;
$custom-light: #9d61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f168e",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 284.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.1851,
    "h": 314.9
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#6F168E
secondary
#60C13F
accent
#F03867
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F168E

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

Preview Lab → · Contrast checker → · Palette generator →

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