#6C188B#6C188B

#6C188B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.180 H 314.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6C188B
RGBrgb(108, 24, 139)
HSLhsl(284, 71%, 32%)
HSVhsv(284, 83%, 55%)
CMYKcmyk(22.3%, 82.7%, 0%, 45.5%)
CIE-LABlab(28.66, 52.42, -45.36)
CIE-LCHlch(28.66, 69.33, 319.13°)
OKLaboklab(40.87% 0.1259 -0.1282)
OKLCHoklch(40.87% 0.18 314.5)
XYZxyz(11.1704, 5.7059, 24.9340)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C188B #378B18
analogous
#33188B #6C188B #8B1871
triadic
#6C188B #8B6C18 #188B6C
tetradic
#6C188B #8B3318 #378B18 #18718B
square
#6C188B #8B3318 #378B18 #18718B
split-complementary
#6C188B #718B18 #188B33
monochromatic
#1B0623 #430F57 #6C188B #9521BF #B33FDE

Accessibility & contrast

On white

9.81
#6C188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6C188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C188B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C188B#FFFFFF#000000##FFFFFF
##6C188B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#0D4689
Tritanopia (blue-blind)
#693453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c188b;
/* rgb */ color: rgb(108, 24, 139);
/* oklch */ color: oklch(40.9% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#9a61ae',
    500: '#6c188b',
    950: '#000000',
  },
}
SCSS
$custom: #6c188b;
$custom-light: #9a61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6c188b",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 283.826,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.17971,
    "h": 314.5
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#6C188B
secondary
#62BE40
accent
#ED3A6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6C188B

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

Preview Lab → · Contrast checker → · Palette generator →

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