#6B1B89#6B1B89

#6B1B89 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.175 H 314.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6B1B89
RGBrgb(107, 27, 137)
HSLhsl(284, 67%, 32%)
HSVhsv(284, 80%, 54%)
CMYKcmyk(21.9%, 80.3%, 0%, 46.3%)
CIE-LABlab(28.68, 50.83, -44.08)
CIE-LCHlch(28.68, 67.29, 319.07°)
OKLaboklab(40.81% 0.1225 -0.1245)
OKLCHoklch(40.81% 0.175 314.5)
XYZxyz(10.9699, 5.7162, 24.1875)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B89 #39891B
analogous
#341B89 #6B1B89 #891B70
triadic
#6B1B89 #896B1B #1B896B
tetradic
#6B1B89 #89341B #39891B #1B7089
square
#6B1B89 #89341B #39891B #1B7089
split-complementary
#6B1B89 #70891B #1B8934
monochromatic
#1B0723 #431156 #6B1B89 #9325BC #B144DA

Accessibility & contrast

On white

9.80
#6B1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1B89
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B89#FFFFFF#000000##FFFFFF
##6B1B891.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#134687
Tritanopia (blue-blind)
#683552
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1b89;
/* rgb */ color: rgb(107, 27, 137);
/* oklch */ color: oklch(40.8% 0.175 314.5);
Tailwind
colors: {
  custom: {
    50: '#9962ac',
    500: '#6b1b89',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b89;
$custom-light: #9962ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b89",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 283.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.1747,
    "h": 314.5
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#6B1B89
secondary
#65BC44
accent
#EA3E6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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