#6C1689#6C1689

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

Color values

HEX#6C1689
RGBrgb(108, 22, 137)
HSLhsl(285, 72%, 31%)
HSVhsv(285, 84%, 54%)
CMYKcmyk(21.2%, 83.9%, 0%, 46.3%)
CIE-LABlab(28.30, 52.62, -44.70)
CIE-LCHlch(28.30, 69.05, 319.65°)
OKLaboklab(40.57% 0.1278 -0.1263)
OKLCHoklch(40.57% 0.18 315.3)
XYZxyz(10.9859, 5.5685, 24.1582)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1689 #338916
analogous
#331689 #6C1689 #89166C
triadic
#6C1689 #896C16 #16896C
tetradic
#6C1689 #893316 #338916 #166C89
square
#6C1689 #893316 #338916 #166C89
split-complementary
#6C1689 #6C8916 #168933
monochromatic
#190520 #420E54 #6C1689 #961EBE #B63ADF

Accessibility & contrast

On white

9.94
#6C1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6C1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1689
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1689#FFFFFF#000000##FFFFFF
##6C16891.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#0F4587
Tritanopia (blue-blind)
#6A3351
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1689;
/* rgb */ color: rgb(108, 22, 137);
/* oklch */ color: oklch(40.6% 0.180 315.3);
Tailwind
colors: {
  custom: {
    50: '#9a60ac',
    500: '#6c1689',
    950: '#000000',
  },
}
SCSS
$custom: #6c1689;
$custom-light: #9a60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1689",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 284.87,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.1797,
    "h": 315.3
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#6C1689
secondary
#5EBD3E
accent
#EF3967
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6C1689

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

Preview Lab → · Contrast checker → · Palette generator →

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