#6D1988#6D1988

#6D1988 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.176 H 316.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6D1988
RGBrgb(109, 25, 136)
HSLhsl(285, 69%, 32%)
HSVhsv(285, 82%, 53%)
CMYKcmyk(19.9%, 81.6%, 0%, 46.7%)
CIE-LABlab(28.71, 51.68, -43.41)
CIE-LCHlch(28.71, 67.49, 319.97°)
OKLaboklab(40.86% 0.127 -0.1225)
OKLCHoklch(40.86% 0.176 316)
XYZxyz(11.0975, 5.7245, 23.8081)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1988 #348819
analogous
#351988 #6D1988 #88196C
triadic
#6D1988 #886D19 #19886D
tetradic
#6D1988 #883519 #348819 #196C88
square
#6D1988 #883519 #348819 #196C88
split-complementary
#6D1988 #6C8819 #198835
monochromatic
#1A0621 #440F54 #6D1988 #9623BC #B640DC

Accessibility & contrast

On white

9.79
#6D1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1988
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1988#FFFFFF#000000##FFFFFF
##6D19881.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#174686
Tritanopia (blue-blind)
#6B3351
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1988;
/* rgb */ color: rgb(109, 25, 136);
/* oklch */ color: oklch(40.9% 0.176 316.0);
Tailwind
colors: {
  custom: {
    50: '#9b61ab',
    500: '#6d1988',
    950: '#000000',
  },
}
SCSS
$custom: #6d1988;
$custom-light: #9b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1988",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 285.405,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.17645,
    "h": 316
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#6D1988
secondary
#5FBB41
accent
#EC3C67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1988

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

Preview Lab → · Contrast checker → · Palette generator →

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