#6C1988#6C1988

#6C1988 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.176 H 315.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6C1988
RGBrgb(108, 25, 136)
HSLhsl(285, 69%, 32%)
HSVhsv(285, 82%, 53%)
CMYKcmyk(20.6%, 81.6%, 0%, 46.7%)
CIE-LABlab(28.54, 51.49, -43.68)
CIE-LCHlch(28.54, 67.52, 319.69°)
OKLaboklab(40.71% 0.1257 -0.1233)
OKLCHoklch(40.71% 0.176 315.6)
XYZxyz(10.9752, 5.6614, 23.8024)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1988 #358819
analogous
#351988 #6C1988 #88196D
triadic
#6C1988 #886C19 #19886C
tetradic
#6C1988 #883519 #358819 #196D88
square
#6C1988 #883519 #358819 #196D88
split-complementary
#6C1988 #6D8819 #198835
monochromatic
#1A0621 #430F54 #6C1988 #9523BC #B440DC

Accessibility & contrast

On white

9.85
#6C1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1988
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1988#FFFFFF#000000##FFFFFF
##6C19881.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1988;
/* rgb */ color: rgb(108, 25, 136);
/* oklch */ color: oklch(40.7% 0.176 315.6);
Tailwind
colors: {
  custom: {
    50: '#9a61ab',
    500: '#6c1988',
    950: '#000000',
  },
}
SCSS
$custom: #6c1988;
$custom-light: #9a61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1988",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 284.865,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.17609,
    "h": 315.6
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#6C1988
secondary
#60BB41
accent
#EC3C68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1988

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

Preview Lab → · Contrast checker → · Palette generator →

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