#6B1689#6B1689

#6B1689 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.179 H 314.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6B1689
RGBrgb(107, 22, 137)
HSLhsl(284, 72%, 31%)
HSVhsv(284, 84%, 54%)
CMYKcmyk(21.9%, 83.9%, 0%, 46.3%)
CIE-LABlab(28.13, 52.44, -44.98)
CIE-LCHlch(28.13, 69.09, 319.38°)
OKLaboklab(40.42% 0.1265 -0.1271)
OKLCHoklch(40.42% 0.179 314.9)
XYZxyz(10.8649, 5.5062, 24.1525)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1689 #348916
analogous
#311689 #6B1689 #89166D
triadic
#6B1689 #896B16 #16896B
tetradic
#6B1689 #893116 #348916 #166D89
square
#6B1689 #893116 #348916 #166D89
split-complementary
#6B1689 #6D8916 #168931
monochromatic
#190520 #420E54 #6B1689 #941EBE #B43ADF

Accessibility & contrast

On white

9.99
#6B1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6B1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1689
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1689#FFFFFF#000000##FFFFFF
##6B16891.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#683351
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1689;
/* rgb */ color: rgb(107, 22, 137);
/* oklch */ color: oklch(40.4% 0.179 314.9);
Tailwind
colors: {
  custom: {
    50: '#9a60ac',
    500: '#6b1689',
    950: '#000000',
  },
}
SCSS
$custom: #6b1689;
$custom-light: #9a60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1689",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 284.348,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.17937,
    "h": 314.9
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#6B1689
secondary
#5FBD3E
accent
#EF3968
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1689

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

Preview Lab → · Contrast checker → · Palette generator →

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