#6B1988#6B1988

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

Color values

HEX#6B1988
RGBrgb(107, 25, 136)
HSLhsl(284, 69%, 32%)
HSVhsv(284, 82%, 53%)
CMYKcmyk(21.3%, 81.6%, 0%, 46.7%)
CIE-LABlab(28.38, 51.30, -43.96)
CIE-LCHlch(28.38, 67.56, 319.41°)
OKLaboklab(40.57% 0.1244 -0.1241)
OKLCHoklch(40.57% 0.176 315.1)
XYZxyz(10.8542, 5.5990, 23.7967)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1988 #368819
analogous
#341988 #6B1988 #88196E
triadic
#6B1988 #886B19 #19886B
tetradic
#6B1988 #883419 #368819 #196E88
square
#6B1988 #883419 #368819 #196E88
split-complementary
#6B1988 #6E8819 #198834
monochromatic
#1A0621 #420F54 #6B1988 #9423BC #B340DC

Accessibility & contrast

On white

9.91
#6B1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1988
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1988#FFFFFF#000000##FFFFFF
##6B19881.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1988;
/* rgb */ color: rgb(107, 25, 136);
/* oklch */ color: oklch(40.6% 0.176 315.1);
Tailwind
colors: {
  custom: {
    50: '#9961ab',
    500: '#6b1988',
    950: '#000000',
  },
}
SCSS
$custom: #6b1988;
$custom-light: #9961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1988",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 284.324,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.17574,
    "h": 315.1
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#6B1988
secondary
#61BB41
accent
#EC3C6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1988

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

Preview Lab → · Contrast checker → · Palette generator →

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