#6D1689#6D1689

#6D1689 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.180 H 315.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#6D1689
RGBrgb(109, 22, 137)
HSLhsl(285, 72%, 31%)
HSVhsv(285, 84%, 54%)
CMYKcmyk(20.4%, 83.9%, 0%, 46.3%)
CIE-LABlab(28.46, 52.81, -44.43)
CIE-LCHlch(28.46, 69.01, 319.93°)
OKLaboklab(40.72% 0.1292 -0.1254)
OKLCHoklch(40.72% 0.18 315.8)
XYZxyz(11.1082, 5.6316, 24.1639)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1689 #328916
analogous
#331689 #6D1689 #89166B
triadic
#6D1689 #896D16 #16896D
tetradic
#6D1689 #893316 #328916 #166B89
square
#6D1689 #893316 #328916 #166B89
split-complementary
#6D1689 #6B8916 #168933
monochromatic
#190520 #430E54 #6D1689 #971EBE #B73ADF

Accessibility & contrast

On white

9.88
#6D1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1689
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1689#FFFFFF#000000##FFFFFF
##6D16891.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#124587
Tritanopia (blue-blind)
#6B3251
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1689;
/* rgb */ color: rgb(109, 22, 137);
/* oklch */ color: oklch(40.7% 0.180 315.8);
Tailwind
colors: {
  custom: {
    50: '#9b60ac',
    500: '#6d1689',
    950: '#000000',
  },
}
SCSS
$custom: #6d1689;
$custom-light: #9b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1689",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 285.391,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.18005,
    "h": 315.8
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#6D1689
secondary
#5DBD3E
accent
#EF3965
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1689

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

Preview Lab → · Contrast checker → · Palette generator →

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