#6D188A#6D188A

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

Color values

HEX#6D188A
RGBrgb(109, 24, 138)
HSLhsl(285, 70%, 32%)
HSVhsv(285, 83%, 54%)
CMYKcmyk(21%, 82.6%, 0%, 45.9%)
CIE-LABlab(28.75, 52.40, -44.59)
CIE-LCHlch(28.75, 68.81, 319.60°)
OKLaboklab(40.94% 0.1274 -0.1259)
OKLCHoklch(40.94% 0.179 315.3)
XYZxyz(11.2200, 5.7399, 24.5567)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D188A #358A18
analogous
#34188A #6D188A #8A186E
triadic
#6D188A #8A6D18 #188A6D
tetradic
#6D188A #8A3418 #358A18 #186E8A
square
#6D188A #8A3418 #358A18 #186E8A
split-complementary
#6D188A #6E8A18 #188A34
monochromatic
#1B0622 #440F56 #6D188A #9621BE #B53FDE

Accessibility & contrast

On white

9.78
#6D188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D188A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D188A#FFFFFF#000000##FFFFFF
##6D188A1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#6B3452
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d188a;
/* rgb */ color: rgb(109, 24, 138);
/* oklch */ color: oklch(40.9% 0.179 315.3);
Tailwind
colors: {
  custom: {
    50: '#9b61ad',
    500: '#6d188a',
    950: '#000000',
  },
}
SCSS
$custom: #6d188a;
$custom-light: #9b61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d188a",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 284.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.17916,
    "h": 315.3
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#6D188A
secondary
#60BD40
accent
#ED3B68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D188A

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

Preview Lab → · Contrast checker → · Palette generator →

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