#6F188A#6F188A

#6F188A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.180 H 316.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6F188A
RGBrgb(111, 24, 138)
HSLhsl(286, 70%, 32%)
HSVhsv(286, 83%, 54%)
CMYKcmyk(19.6%, 82.6%, 0%, 45.9%)
CIE-LABlab(29.08, 52.78, -44.04)
CIE-LCHlch(29.08, 68.74, 320.16°)
OKLaboklab(41.24% 0.1301 -0.1242)
OKLCHoklch(41.24% 0.18 316.3)
XYZxyz(11.4689, 5.8682, 24.5684)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F188A #338A18
analogous
#36188A #6F188A #8A186C
triadic
#6F188A #8A6F18 #188A6F
tetradic
#6F188A #8A3618 #338A18 #186C8A
square
#6F188A #8A3618 #338A18 #186C8A
split-complementary
#6F188A #6C8A18 #188A36
monochromatic
#1B0622 #450F56 #6F188A #9921BE #B83FDE

Accessibility & contrast

On white

9.66
#6F188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F188A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F188A#FFFFFF#000000##FFFFFF
##6F188A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#6D3352
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f188a;
/* rgb */ color: rgb(111, 24, 138);
/* oklch */ color: oklch(41.2% 0.180 316.3);
Tailwind
colors: {
  custom: {
    50: '#9c61ad',
    500: '#6f188a',
    950: '#000000',
  },
}
SCSS
$custom: #6f188a;
$custom-light: #9c61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f188a",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 285.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.17987,
    "h": 316.3
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#6F188A
secondary
#5EBD40
accent
#ED3B65
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F188A

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

Preview Lab → · Contrast checker → · Palette generator →

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