#6C187C#6C187C

#6C187C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.166 H 320.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6C187C
RGBrgb(108, 24, 124)
HSLhsl(290, 68%, 29%)
HSVhsv(290, 81%, 49%)
CMYKcmyk(12.9%, 80.6%, 0%, 51.4%)
CIE-LABlab(27.57, 49.42, -37.72)
CIE-LCHlch(27.57, 62.18, 322.65°)
OKLaboklab(39.75% 0.1285 -0.1058)
OKLCHoklch(39.75% 0.166 320.5)
XYZxyz(10.1486, 5.2972, 19.5528)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C187C #287C18
analogous
#3A187C #6C187C #7C185A
triadic
#6C187C #7C6C18 #187C6C
tetradic
#6C187C #7C3A18 #287C18 #185A7C
square
#6C187C #7C3A18 #287C18 #185A7C
split-complementary
#6C187C #5A7C18 #187C3A
monochromatic
#16051A #3F0E49 #6C187C #9922AF #BE36D8

Accessibility & contrast

On white

10.20
#6C187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6C187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C187C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C187C#FFFFFF#000000##FFFFFF
##6C187C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#6D2D4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c187c;
/* rgb */ color: rgb(108, 24, 124);
/* oklch */ color: oklch(39.8% 0.166 320.5);
Tailwind
colors: {
  custom: {
    50: '#9a60a2',
    500: '#6c187c',
    950: '#000000',
  },
}
SCSS
$custom: #6c187c;
$custom-light: #9a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c187c",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 290.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.16644,
    "h": 320.5
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#6C187C
secondary
#51B13F
accent
#EA3D59
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C187C

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

Preview Lab → · Contrast checker → · Palette generator →

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