#6C1B89#6C1B89

#6C1B89 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 315.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6C1B89
RGBrgb(108, 27, 137)
HSLhsl(284, 67%, 32%)
HSVhsv(284, 80%, 54%)
CMYKcmyk(21.2%, 80.3%, 0%, 46.3%)
CIE-LABlab(28.85, 51.03, -43.81)
CIE-LCHlch(28.85, 67.26, 319.35°)
OKLaboklab(40.95% 0.1239 -0.1237)
OKLCHoklch(40.95% 0.175 315)
XYZxyz(11.0909, 5.7786, 24.1932)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B89 #38891B
analogous
#351B89 #6C1B89 #891B6F
triadic
#6C1B89 #896C1B #1B896C
tetradic
#6C1B89 #89351B #38891B #1B6F89
square
#6C1B89 #89351B #38891B #1B6F89
split-complementary
#6C1B89 #6F891B #1B8935
monochromatic
#1B0723 #441156 #6C1B89 #9425BC #B344DA

Accessibility & contrast

On white

9.74
#6C1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6C1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B89
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B89#FFFFFF#000000##FFFFFF
##6C1B891.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#6A3552
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c1b89;
/* rgb */ color: rgb(108, 27, 137);
/* oklch */ color: oklch(41.0% 0.175 315.0);
Tailwind
colors: {
  custom: {
    50: '#9a62ac',
    500: '#6c1b89',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b89;
$custom-light: #9a62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b89",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 284.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.17505,
    "h": 315
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#6C1B89
secondary
#64BC44
accent
#EA3E6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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