#6C188F#6C188F

#6C188F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.183 H 313.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#6C188F
RGBrgb(108, 24, 143)
HSLhsl(282, 71%, 33%)
HSVhsv(282, 83%, 56%)
CMYKcmyk(24.5%, 83.2%, 0%, 43.9%)
CIE-LABlab(28.97, 53.25, -47.34)
CIE-LCHlch(28.97, 71.25, 318.36°)
OKLaboklab(41.18% 0.125 -0.1341)
OKLCHoklch(41.18% 0.183 313)
XYZxyz(11.4680, 5.8249, 26.5015)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C188F #3B8F18
analogous
#31188F #6C188F #8F1876
triadic
#6C188F #8F6C18 #188F6C
tetradic
#6C188F #8F3118 #3B8F18 #18768F
square
#6C188F #8F3118 #3B8F18 #18768F
split-complementary
#6C188F #768F18 #188F31
monochromatic
#1D0626 #440F5B #6C188F #9421C3 #B142DF

Accessibility & contrast

On white

9.70
#6C188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6C188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C188F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C188F#FFFFFF#000000##FFFFFF
##6C188F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#683655
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c188f;
/* rgb */ color: rgb(108, 24, 143);
/* oklch */ color: oklch(41.2% 0.183 313.0);
Tailwind
colors: {
  custom: {
    50: '#9b61b1',
    500: '#6c188f',
    950: '#000000',
  },
}
SCSS
$custom: #6c188f;
$custom-light: #9b61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c188f",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 282.353,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.1833,
    "h": 313
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#6C188F
secondary
#68C043
accent
#EE3A6F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6C188F

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

Preview Lab → · Contrast checker → · Palette generator →

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