#6D188D#6D188D

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

Color values

HEX#6D188D
RGBrgb(109, 24, 141)
HSLhsl(284, 71%, 32%)
HSVhsv(284, 83%, 55%)
CMYKcmyk(22.7%, 83%, 0%, 44.7%)
CIE-LABlab(28.97, 53.02, -46.09)
CIE-LCHlch(28.97, 70.25, 319.00°)
OKLaboklab(41.17% 0.1268 -0.1303)
OKLCHoklch(41.17% 0.182 314.2)
XYZxyz(11.4402, 5.8280, 25.7164)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D188D #388D18
analogous
#33188D #6D188D #8D1872
triadic
#6D188D #8D6D18 #188D6D
tetradic
#6D188D #8D3318 #388D18 #18728D
square
#6D188D #8D3318 #388D18 #18728D
split-complementary
#6D188D #728D18 #188D33
monochromatic
#1C0624 #450F59 #6D188D #9521C1 #B341DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D188D#FFFFFF#000000##FFFFFF
##6D188D1.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)
#004090
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#6A3554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d188d;
/* rgb */ color: rgb(109, 24, 141);
/* oklch */ color: oklch(41.2% 0.182 314.2);
Tailwind
colors: {
  custom: {
    50: '#9b61af',
    500: '#6d188d',
    950: '#000000',
  },
}
SCSS
$custom: #6d188d;
$custom-light: #9b61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d188d",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 283.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.18183,
    "h": 314.2
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#6D188D
secondary
#64BF42
accent
#EE3A6B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D188D

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

Preview Lab → · Contrast checker → · Palette generator →

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