#6C1889#6C1889

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

Color values

HEX#6C1889
RGBrgb(108, 24, 137)
HSLhsl(285, 70%, 32%)
HSVhsv(285, 82%, 54%)
CMYKcmyk(21.2%, 82.5%, 0%, 46.3%)
CIE-LABlab(28.51, 52.01, -44.36)
CIE-LCHlch(28.51, 68.36, 319.54°)
OKLaboklab(40.71% 0.1263 -0.1253)
OKLCHoklch(40.71% 0.178 315.2)
XYZxyz(11.0256, 5.6480, 24.1714)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1889 #358918
analogous
#341889 #6C1889 #89186E
triadic
#6C1889 #896C18 #18896C
tetradic
#6C1889 #893418 #358918 #186E89
square
#6C1889 #893418 #358918 #186E89
split-complementary
#6C1889 #6E8918 #188934
monochromatic
#1A0621 #430F55 #6C1889 #9521BD #B43EDD

Accessibility & contrast

On white

9.86
#6C1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1889
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1889#FFFFFF#000000##FFFFFF
##6C18891.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1889;
/* rgb */ color: rgb(108, 24, 137);
/* oklch */ color: oklch(40.7% 0.178 315.2);
Tailwind
colors: {
  custom: {
    50: '#9a61ac',
    500: '#6c1889',
    950: '#000000',
  },
}
SCSS
$custom: #6c1889;
$custom-light: #9a61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1889",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 284.602,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.17793,
    "h": 315.2
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#6C1889
secondary
#60BD40
accent
#ED3B69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1889

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

Preview Lab → · Contrast checker → · Palette generator →

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