#6F1988#6F1988

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

Color values

HEX#6F1988
RGBrgb(111, 25, 136)
HSLhsl(286, 69%, 32%)
HSVhsv(286, 82%, 53%)
CMYKcmyk(18.4%, 81.6%, 0%, 46.7%)
CIE-LABlab(29.04, 52.06, -42.86)
CIE-LCHlch(29.04, 67.44, 320.54°)
OKLaboklab(41.16% 0.1296 -0.1208)
OKLCHoklch(41.16% 0.177 317)
XYZxyz(11.3464, 5.8528, 23.8198)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1988 #328819
analogous
#371988 #6F1988 #88196A
triadic
#6F1988 #886F19 #19886F
tetradic
#6F1988 #883719 #328819 #196A88
square
#6F1988 #883719 #328819 #196A88
split-complementary
#6F1988 #6A8819 #198837
monochromatic
#1B0621 #450F54 #6F1988 #9923BC #B940DC

Accessibility & contrast

On white

9.68
#6F1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1988
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1988#FFFFFF#000000##FFFFFF
##6F19881.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#1A4786
Tritanopia (blue-blind)
#6E3351
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1988;
/* rgb */ color: rgb(111, 25, 136);
/* oklch */ color: oklch(41.2% 0.177 317.0);
Tailwind
colors: {
  custom: {
    50: '#9c62ab',
    500: '#6f1988',
    950: '#000000',
  },
}
SCSS
$custom: #6f1988;
$custom-light: #9c62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1988",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 286.486,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41161,
    "c": 0.17718,
    "h": 317
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#6F1988
secondary
#5DBB41
accent
#EC3C64
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1988

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

Preview Lab → · Contrast checker → · Palette generator →

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