#6B1888#6B1888

#6B1888 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.177 H 315.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6B1888
RGBrgb(107, 24, 136)
HSLhsl(284, 70%, 31%)
HSVhsv(284, 82%, 53%)
CMYKcmyk(21.3%, 82.4%, 0%, 46.7%)
CIE-LABlab(28.27, 51.62, -44.14)
CIE-LCHlch(28.27, 67.92, 319.47°)
OKLaboklab(40.49% 0.1252 -0.1247)
OKLCHoklch(40.49% 0.177 315.1)
XYZxyz(10.8332, 5.5571, 23.7897)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1888 #358818
analogous
#331888 #6B1888 #88186D
triadic
#6B1888 #886B18 #18886B
tetradic
#6B1888 #883318 #358818 #186D88
square
#6B1888 #883318 #358818 #186D88
split-complementary
#6B1888 #6D8818 #188833
monochromatic
#190620 #420F54 #6B1888 #9421BC #B43EDD

Accessibility & contrast

On white

9.95
#6B1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1888
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1888#FFFFFF#000000##FFFFFF
##6B18881.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#693351
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1888;
/* rgb */ color: rgb(107, 24, 136);
/* oklch */ color: oklch(40.5% 0.177 315.1);
Tailwind
colors: {
  custom: {
    50: '#9961ab',
    500: '#6b1888',
    950: '#000000',
  },
}
SCSS
$custom: #6b1888;
$custom-light: #9961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1888",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 284.464,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.17668,
    "h": 315.1
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B1888

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

Preview Lab → · Contrast checker → · Palette generator →

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