#6D187B#6D187B

#6D187B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.166 H 321.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6D187B
RGBrgb(109, 24, 123)
HSLhsl(292, 67%, 29%)
HSVhsv(292, 80%, 48%)
CMYKcmyk(11.4%, 80.5%, 0%, 51.8%)
CIE-LABlab(27.67, 49.44, -36.91)
CIE-LCHlch(27.67, 61.70, 323.25°)
OKLaboklab(39.84% 0.1298 -0.1034)
OKLCHoklch(39.84% 0.166 321.5)
XYZxyz(10.2081, 5.3351, 19.2271)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D187B #267B18
analogous
#3C187B #6D187B #7B1858
triadic
#6D187B #7B6D18 #187B6D
tetradic
#6D187B #7B3C18 #267B18 #18587B
square
#6D187B #7B3C18 #267B18 #18587B
split-complementary
#6D187B #587B18 #187B3C
monochromatic
#17051A #400E48 #6D187B #9A22AE #C136D8

Accessibility & contrast

On white

10.16
#6D187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D187B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D187B#FFFFFF#000000##FFFFFF
##6D187B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#6E2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d187b;
/* rgb */ color: rgb(109, 24, 123);
/* oklch */ color: oklch(39.8% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#9a60a2',
    500: '#6d187b',
    950: '#000000',
  },
}
SCSS
$custom: #6d187b;
$custom-light: #9a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d187b",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 291.515,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.16599,
    "h": 321.5
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#6D187B
secondary
#4FB03F
accent
#EA3E56
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D187B

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

Preview Lab → · Contrast checker → · Palette generator →

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