#6D188B#6D188B

#6D188B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.180 H 315.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6D188B
RGBrgb(109, 24, 139)
HSLhsl(284, 71%, 32%)
HSVhsv(284, 83%, 55%)
CMYKcmyk(21.6%, 82.7%, 0%, 45.5%)
CIE-LABlab(28.82, 52.61, -45.09)
CIE-LCHlch(28.82, 69.29, 319.40°)
OKLaboklab(41.01% 0.1272 -0.1274)
OKLCHoklch(41.01% 0.18 315)
XYZxyz(11.2927, 5.7690, 24.9398)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D188B #368B18
analogous
#34188B #6D188B #8B1870
triadic
#6D188B #8B6D18 #188B6D
tetradic
#6D188B #8B3418 #368B18 #18708B
square
#6D188B #8B3418 #368B18 #18708B
split-complementary
#6D188B #708B18 #188B34
monochromatic
#1B0623 #440F57 #6D188B #9621BF #B53FDE

Accessibility & contrast

On white

9.75
#6D188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D188B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D188B#FFFFFF#000000##FFFFFF
##6D188B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#104689
Tritanopia (blue-blind)
#6A3453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d188b;
/* rgb */ color: rgb(109, 24, 139);
/* oklch */ color: oklch(41.0% 0.180 315.0);
Tailwind
colors: {
  custom: {
    50: '#9b61ae',
    500: '#6d188b',
    950: '#000000',
  },
}
SCSS
$custom: #6d188b;
$custom-light: #9b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d188b",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 284.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41014,
    "c": 0.18005,
    "h": 315
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#6D188B
secondary
#61BE40
accent
#ED3A69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D188B

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

Preview Lab → · Contrast checker → · Palette generator →

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