#6C187A#6C187A

#6C187A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.165 H 321.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#6C187A
RGBrgb(108, 24, 122)
HSLhsl(291, 67%, 29%)
HSVhsv(291, 80%, 48%)
CMYKcmyk(11.5%, 80.3%, 0%, 52.2%)
CIE-LABlab(27.43, 49.04, -36.68)
CIE-LCHlch(27.43, 61.24, 323.21°)
OKLaboklab(39.61% 0.1287 -0.1028)
OKLCHoklch(39.61% 0.165 321.4)
XYZxyz(10.0234, 5.2471, 18.8934)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C187A #267A18
analogous
#3B187A #6C187A #7A1857
triadic
#6C187A #7A6C18 #187A6C
tetradic
#6C187A #7A3B18 #267A18 #18577A
square
#6C187A #7A3B18 #267A18 #18577A
split-complementary
#6C187A #577A18 #187A3B
monochromatic
#17051A #3F0E47 #6C187A #9922AD #C035D7

Accessibility & contrast

On white

10.25
#6C187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6C187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C187A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C187A#FFFFFF#000000##FFFFFF
##6C187A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#6D2C49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c187a;
/* rgb */ color: rgb(108, 24, 122);
/* oklch */ color: oklch(39.6% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#9a60a1',
    500: '#6c187a',
    950: '#000000',
  },
}
SCSS
$custom: #6c187a;
$custom-light: #9a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c187a",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 291.429,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3961,
    "c": 0.16469,
    "h": 321.4
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#6C187A
secondary
#4FAF3F
accent
#EA3E56
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C187A

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

Preview Lab → · Contrast checker → · Palette generator →

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