#6D1989#6D1989

#6D1989 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.177 H 315.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#6D1989
RGBrgb(109, 25, 137)
HSLhsl(285, 69%, 32%)
HSVhsv(285, 82%, 54%)
CMYKcmyk(20.4%, 81.8%, 0%, 46.3%)
CIE-LABlab(28.78, 51.88, -43.91)
CIE-LCHlch(28.78, 67.97, 319.76°)
OKLaboklab(40.94% 0.1268 -0.1239)
OKLCHoklch(40.94% 0.177 315.7)
XYZxyz(11.1689, 5.7531, 24.1842)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1989 #358919
analogous
#351989 #6D1989 #89196D
triadic
#6D1989 #896D19 #19896D
tetradic
#6D1989 #893519 #358919 #196D89
square
#6D1989 #893519 #358919 #196D89
split-complementary
#6D1989 #6D8919 #198935
monochromatic
#1B0621 #441055 #6D1989 #9622BD #B540DC

Accessibility & contrast

On white

9.76
#6D1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1989
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1989#FFFFFF#000000##FFFFFF
##6D19891.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#6B3452
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1989;
/* rgb */ color: rgb(109, 25, 137);
/* oklch */ color: oklch(40.9% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#9b61ac',
    500: '#6d1989',
    950: '#000000',
  },
}
SCSS
$custom: #6d1989;
$custom-light: #9b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1989",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 285,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.17735,
    "h": 315.7
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#6D1989
secondary
#60BC41
accent
#EC3C68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1989

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

Preview Lab → · Contrast checker → · Palette generator →

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