#6F186E#6F186E

#6F186E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.156 H 328.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6F186E
RGBrgb(111, 24, 110)
HSLhsl(301, 64%, 26%)
HSVhsv(301, 78%, 44%)
CMYKcmyk(0%, 78.4%, 0.9%, 56.5%)
CIE-LABlab(27.18, 47.49, -29.37)
CIE-LCHlch(27.18, 55.84, 328.26°)
OKLaboklab(39.29% 0.1331 -0.0813)
OKLCHoklch(39.29% 0.156 328.6)
XYZxyz(9.6966, 5.1593, 15.2340)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F186E #186F19
analogous
#45186F #6F186E #6F1843
triadic
#6F186E #6E6F18 #186E6F
tetradic
#6F186E #6F4518 #186F19 #18436F
square
#6F186E #6F4518 #186F19 #18436F
split-complementary
#6F186E #436F18 #186F45
monochromatic
#190519 #3D0D3C #6F186E #A123A0 #D22FD0

Accessibility & contrast

On white

10.34
#6F186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6F186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F186E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F186E#FFFFFF#000000##FFFFFF
##6F186E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#31446C
Tritanopia (blue-blind)
#732642
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f186e;
/* rgb */ color: rgb(111, 24, 110);
/* oklch */ color: oklch(39.3% 0.156 328.6);
Tailwind
colors: {
  custom: {
    50: '#9c6098',
    500: '#6f186e',
    950: '#000000',
  },
}
SCSS
$custom: #6f186e;
$custom-light: #9c6098;
$custom-dark: #000000;
JSON
{
  "hex": "#6f186e",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 300.69,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.15595,
    "h": 328.6
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#6F186E
secondary
#3EA53F
accent
#E74240
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F186E

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

Preview Lab → · Contrast checker → · Palette generator →

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